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
fortune | cowsay -f "$(ls /usr/share/cowsay/cows | sort -R | head -1)" | lolcat |
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
# Command: | |
alias backup='rsync -av --delete --delete-excluded --exclude-from=/path/to/exclude/file /dir/to/backup/ /dir/backup/to/' | |
# -a archive mode. Shortcut to a bunch of other options typically used for archives. | |
# -v verbose. I run the command manually and want to see what is happening. | |
# --delete will remove files/folders from the backup target when deleted from the backup source | |
# --delete-excluded will remove files/folders previously backed up that have now been marked for exclusion | |
# Exclude file example (ignore rule per line): | |
# Downloads | |
# .cache |
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
192.168.1.x:/volume1/SharedFolder /media/LocalSharedFolder nfs nouser,rsize=8192,wsize=8192,atime,auto,rw,dev,exec,suid 0 0 |