Skip to content

Instantly share code, notes, and snippets.

@marcusshepp
Created August 11, 2016 15:40
Show Gist options
  • Save marcusshepp/076e2feb316ad6380d22956efa127877 to your computer and use it in GitHub Desktop.
Save marcusshepp/076e2feb316ad6380d22956efa127877 to your computer and use it in GitHub Desktop.
file manipulation -- creating/rm muiltple files with curly braces
touch foo/bar/{marcus,nathan}.rb
ls foo/bar/
# .
# ..
# marcus.rb
# nathan.rb
rm foo/bar/{marcus,nathan}.rb
ls foo/bar
# .
# ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment