Created
April 21, 2024 09:08
-
-
Save nicoxxxcox/b6478dbf38671f3ecc809c6eccbc65e3 to your computer and use it in GitHub Desktop.
Move only files recursively from multiple directories into one directory with mv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find /path/to/photos -type f -exec mv -nv -t '/path/to/master' -- {} + | |
# https://stackoverflow.com/questions/19880246/move-only-files-recursively-from-multiple-directories-into-one-directory-with-mv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment