Skip to content

Instantly share code, notes, and snippets.

@beardedlinuxgeek
Created August 29, 2014 22:49
Show Gist options
  • Save beardedlinuxgeek/f38c76ff55ef5740f3dc to your computer and use it in GitHub Desktop.
Save beardedlinuxgeek/f38c76ff55ef5740f3dc to your computer and use it in GitHub Desktop.
bash shortcuts
#
# Want to do some complex file manipulation but are afraid?
#
# store the names in a text file
ls > list.txt
# move list.txt to a tmp folder
# create dummy files to test on
cat list.txt | xargs touch --
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment