Hi, I'm just playing with lftp on Windows using cygwin. The path /cygdrive/c/ is a shortcut to C:\
I use this command to synchronize my project with remote server. lftp -c ' open sftp://user:[EMAIL PROTECTED]/path/to/dir/ lcd /cygdrive/c/path/to/dir/; mirror -R --no-perms '; In this case (if there's --no-perms) files are 0644, directories are 0755. If I use this command (without --no-perms) files and dirs are 0700: lftp -c ' open sftp://user:[EMAIL PROTECTED]/path/to/dir/ lcd /cygdrive/c/path/to/dir/; mirror -R '; Is there a way how to chown all files to let say 0660 and all dirs to 0770? I know there's a chmod command but I don't know how to use it for dir os files only. Thanks. Michal
