Skip to content

Instantly share code, notes, and snippets.

@dragonken
Last active November 4, 2018 22:07
Show Gist options
  • Save dragonken/ffcdbc9a343dbf9bcf6a03eeeb17ac77 to your computer and use it in GitHub Desktop.
Save dragonken/ffcdbc9a343dbf9bcf6a03eeeb17ac77 to your computer and use it in GitHub Desktop.
xargs {} as the argument list marker: Command Line Arguments
#https://www.cyberciti.biz/faq/linux-unix-bsd-xargs-construct-argument-lists-utility/
find . -name "*.bak" -print0 | xargs -0 -I {} mv {} ~/old.files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment