I also use Jungledisk with the Amazon S3 service to backup my important files each night including the Dropbox folder. Mv /home/ xxxx/xml.php /home/ xxxx/Dropbox/toodledobackup.xml I have my script in my Linux home folder and have added the following line to move and rename the downloaded file into my Dropbox directory. It should be noted you will want to place the script in the directory which should store your download. For Windows you would replace the rm command with del. The second line performs the actual download of the file and the third line removes the cookie. The first line logs the script/system in to the Toodledo website and saves the cookie generated by Toodledo. Wget -O /dev/null -quiet -no-check-certificate -save-cookies cookies.txt -post-data 'email= xxxxxxxx' (Thanks to Matt - for the commands!) Items in bold below are to be replaced with your information. The basic script commands are shown below. Once a script (or DOS batch file) is built using the proper WGET command structure it is very simple have it run nightly in Linux CRON or as a Windows Scheduled Task. More information about WGET usage as well as links to Windows and Mac downloads is available from LifeHacker. It allows "for retrieving files using HTTP, HTTPS and FTP" from the Linux shell. The program WGET is a commonly installed software package of most Linux distibutions. In addition I thought it'd be handy if this backup went instantly to my Dropbox account. With the recent XML export enhancements I wanted a way to schedule nightly backups of my Toodledo data.
0 Comments
Leave a Reply. |