MkyTaP - 開發筆記
主要工具: Linux, Python, SQL
Friday, November 25, 2016
linux: move all file under folder A contain name *.cn to folder B
find A -type f -iname *.cn -exec mv --backup=numbered -t B {} +
Reference:
How do I move files out of nested subdirectories into another folder in ubuntu? (Trying to strip off many subfolders)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment