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
rsync --progress --exclude={proc,run,lost+found,dev,sys,snap} -aAXHv --numeric-ids --delete 192.168.1.1:/ /mnt/ |
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 | |
# $bing is needed to form the fully qualified URL for | |
# the Bing pic of the day | |
bing="http://www.bing.com" | |
# $xmlURL is needed to get the xml data from which | |
# the relative URL for the Bing pic of the day is extracted | |
# The idx parameter determines where to start from. 0 is the current day, | |
# 1 the previous day, etc. |