|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
||||
It's not built in but www/wget might be able to do it, this and the programs documentation would be a starting point.
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
||||
Suggestions, as starting points.
What comes o mind is to build two tables, obe of the files of the remote server, one for the disk, identify differences then put the files which differ or are to be added. Easier said than done. So far, I checked (see manpages for the switches): FTP connect, then ls -agRT Try this also wget -r --spider -nv --user=${me} --password=${my_passwd} ftp://localhost/public_html/${mysite}/* With ls, all files have relevant info such as size (and date) but I don't seem to be able to prepend the full path. With wget, as entered, all files of the site are tested - with full path - and a directory tree is created locally. I don't seem to be able to redirect the tertminal output to a file though. Normally, presence providers should provide tools to perform a sync, so, either change presence provider or have fun!
__________________
da more I know I know I know nuttin' |
Tags |
ftp, sync |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cleaning Portsnap files in /var/db/portsnap/files | bram85 | FreeBSD Ports and Packages | 2 | 5th October 2009 09:54 AM |
Encrypting Files | JMJ_coder | General software and network | 22 | 25th October 2008 07:49 AM |
Best Way to sync web sites | roundkat | OpenBSD General | 2 | 14th September 2008 01:48 PM |
merging log files | Sylhouette | FreeBSD General | 5 | 9th August 2008 02:46 AM |
Moving files | Weaseal | Programming | 2 | 14th July 2008 07:30 AM |