Skip to content

Instantly share code, notes, and snippets.

@toshihirock
Last active August 29, 2015 14:16
Show Gist options
  • Save toshihirock/242ed01c9eb60bf191d1 to your computer and use it in GitHub Desktop.
Save toshihirock/242ed01c9eb60bf191d1 to your computer and use it in GitHub Desktop.
# *.deb or *.sh
find . -type f -name "*.deb" -or -name "*.sh"
# not *.deb or *.sh
find . -type f ! -name "*.deb" -and ! -name "*.sh"
# date format(hoge_20150307 etc...)
find . -type f -name "*`date +%Y%m%d`"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment