Last active
September 13, 2020 13:22
-
-
Save fabienhinault/9430afc42be8f7b0bf270bb61b4688ae to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # place it under ~/.local/share/nautilus/scripts/ | |
| # and make it executable chmod u+x nautilus_backup.bash | |
| for f in $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS | |
| do | |
| cp -a $f $f~$(date --utc '+%Y-%m-%d_%H_%M_%S') | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment