Skip to content

Instantly share code, notes, and snippets.

@notverypc
Created September 7, 2013 09:03
Show Gist options
  • Save notverypc/6474038 to your computer and use it in GitHub Desktop.
Save notverypc/6474038 to your computer and use it in GitHub Desktop.
List folder contents but ignore a file
# Replace Icon with the name of the file you wish to ignore
ls | grep -v 'Icon'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment