Preserving file-modes when mirroring
"Mikhail T." <[email protected]> Fri, 04 May 2007 15:03:08 -0400
| Newsgroups | gmane.network.lftp.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello!
I'm using a command like this to push bin/ subdirectory from server to
backup:
mirror --reverse --no-umask --log=/tmp/mirror.log /my/bin /my/bin
Unfortunately, all files lose their executable bit on the target. How
can I tell lftp to preserve the exact permissions?
Thanks!
-mi