Skip to content

Instantly share code, notes, and snippets.

@rkaneko
Last active December 26, 2015 10:09
Show Gist options
  • Save rkaneko/7134699 to your computer and use it in GitHub Desktop.
Save rkaneko/7134699 to your computer and use it in GitHub Desktop.
Sample . Unix command 'find' usage .
# find *.jar in $HOME/hoge directory and copy all jar files found .
find $HOME/hoge -name '*.jar' -exec cp {} ./lib/ \;
# execute above command more carefully .
find $HOME/hoge -name '*.jar' -ok cp {} ./lib/ \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment