On Friday, November 11, 2011 05:05:00 PM augustin wrote:
> Hello,
> 
> I am mirroring a local application onto a remote server:
> 
> mirror -v -n -L -R -x \.txt -x \.htaccess -X \.git
> 
> The -n option doesn't seem to work:
> -n, --only-newer    download only newer files
> However, even though locally nothing has changed, the same files are being
> uploaded again (wasting time and bandwidth and causing problems on the
> server because each file is being deleted before being re-uploaded):
> 
> Removing old file `cron.php'
> Transferring file `cron.php'
> Removing old file `index.php'
> Transferring file `index.php'
> Removing old file `install.php'
> Transferring file `install.php'
> etc.
> etc.
> 
> 
> Also, neither:
> -X \.git
> nor
> -X \.git*
> nor
> -X .git
> works.
> 
> man page:
> -X GP, --exclude-glob GP exclude matching files
> GP is a glob pattern, e.g. `*.zip'.
> I wanted to be clever and use a GP to exclude .git and .gitignore, but
> apparently only -x .git works.
> 
> The main problem is that mirror -n does not work as expected.
> 
> 

Is anyone experiencing the same issues?
Is it a real bug or are there mistakes in my options?


thanks,

Augustin.





-- 
Friends: http://www.reuniting.info/
My projects:
http://astralcity.org/ http://3enjeux.overshoot.tv/ http://linux.overshoot.tv/ 
http://overshoot.tv/ http://charityware.info/ http://masquilier.org/
http://openteacher.info/ http://minguo.info/ 
http://www.wechange.org/ http://searching911.info/












.
_______________________________________________
lftp mailing list
[email protected]
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to