Skip to content

Instantly share code, notes, and snippets.

@agusvama
Created September 17, 2016 07:34
Show Gist options
  • Save agusvama/8b5d721f3c510fd3adc595530ff66f0d to your computer and use it in GitHub Desktop.
Save agusvama/8b5d721f3c510fd3adc595530ff66f0d to your computer and use it in GitHub Desktop.
move files and make a backup in recycle folder
#!/bin/bash
/usr/bin/cp $1 ~/recycle/$1
/usr/bin/mv $1 $2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment