Skip to content

Instantly share code, notes, and snippets.

@yang-zhang
Created May 21, 2018 02:45
Show Gist options
  • Save yang-zhang/6a107c2515660715dde7bb45d0a81af0 to your computer and use it in GitHub Desktop.
Save yang-zhang/6a107c2515660715dde7bb45d0a81af0 to your computer and use it in GitHub Desktop.
How to move large number of files
!find source_folder -name '*.jpg' -exec mv {} target_folder \;
# Solve "mv: Argument list too long" error when using "mv *.jpg"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment