Skip to content

Instantly share code, notes, and snippets.

@oskarsh
Created April 27, 2019 12:15
Show Gist options
  • Save oskarsh/07f81983ebf3dd576e24f9f00a04bbcc to your computer and use it in GitHub Desktop.
Save oskarsh/07f81983ebf3dd576e24f9f00a04bbcc to your computer and use it in GitHub Desktop.
Checks a directory if a file exists
find $directory_path -name $file_name | wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment