Pejman Moghadam / Slackware

Slackware 12.2 - Installing ftpsync

Public domain


Installation

cd /usr/src
wget http://ossw.ibcl.at/FTPSync/ftpsync-1.3.01.tar.bz2
tar jxf ftpsync-1.3.01.tar.bz2
cd ftpsync-1.3.01
cpan File::Find 
cpan IO::Handle
cpan Net::FTP
cpan File::Listing
cp ftpsync.pl /usr/local/sbin/

Usage

ftpsync.pl -t -p ftp://user:passwd@example.org/www/blog /var/www/htdocs/blog/

    -t turns timestamp setting for local files off
    -p forces sync direction to PUT (local to remote)
    -i forces info mode, only telling what would be done
    -c like -i, but then prompts whether to actually do work
    -n no deletion of obsolete files or directories

BY: Pejman Moghadam
TAG: ftp, ftpsync
DATE: 2009-04-25 10:20:01


Pejman Moghadam / Slackware [ TXT ]