Skip to content

Instantly share code, notes, and snippets.

@hgascon
Created March 15, 2022 14:10
Show Gist options
  • Save hgascon/2a6ba8ff6c75753e6c5d7480d7de18c4 to your computer and use it in GitHub Desktop.
Save hgascon/2a6ba8ff6c75753e6c5d7480d7de18c4 to your computer and use it in GitHub Desktop.
Move a very long list of files to a directory. Useful when $(ls) gives and error that the file list is too long.
find . -name "#.zip" -exec mv {} /dest_dir/ \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment