Skip to content

Instantly share code, notes, and snippets.

@couchoud
Last active September 25, 2015 18:47
Show Gist options
  • Save couchoud/967256 to your computer and use it in GitHub Desktop.
Save couchoud/967256 to your computer and use it in GitHub Desktop.
Bash stuff
## find a file
find . -name "foo.file" -print
## symbolic links
ln -s /Path/To/Directory/ /Path/To/Target/www
## remove word from filename
for file in *; do mv "${file}" "${file/foo/}"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment