Sunday, September 03, 2006

firefox bookmarks uploading script

#!/bin/bash
#firefox bookmarks uploading script

_folder='/home/vishah/.mozilla/firefox/dzvmnj5a.default'
_server='ftp.angelfire.com'
_file='bookmarks.html'
_user='planet/vishah'
_pass='password'

cd $_folder

ftp -n $_server<<END_SCRIPT
quote user $_user
quote pass $_pass
put $_file
quit
END_SCRIPT
exit 0

No comments: