LINUX.ORG.RU
Ответ на: комментарий от Orlangoor

Ну я подозревал. :) Можешь кинуть примерчик? А то там фтп-шник глючный. Я тут до посинения буду трахаться с rsync-om, а окажется - глюки фтп-шника.

alexru ★★★★
() автор топика
Ответ на: комментарий от sdio

Похоже на то :) В мане у него ftp упоминается только в контексте того, откуда его можно скачать.

alexru ★★★★
() автор топика

Ну или не для синхронизации. Как хотя-бы слить и залить каталог на ftp-шник?

Не по одному-же файлу копировать?

alexru ★★★★
() автор топика
Ответ на: комментарий от sdio

>rsync over ftp -- новости из мира фантастики?

Неужели так сложно поднять на удаленном серваке rsync? зато гемороя будет потом гораздо меньше.

Orlangoor ★★★★★
()
Ответ на: комментарий от Orlangoor

Так удаленый сервак не мой.

alexru ★★★★
() автор топика
Ответ на: комментарий от Orlangoor

При таком раскладе (есть root-доступ на сервер) достаочно и ssh (rsync over ssh)

sdio ★★★★★
()
Ответ на: комментарий от alexru

man lftp

     mirror [OPTS] [source [target]]

     Mirror specified source directory to local target directory.
     If  target directory ends with a slash, the source base name
     is appended to target directory name. Source  and/or  target
     can be URLs pointing to directories.

          -c, --continue      continue a mirror job if possible
          -e, --delete        delete files not present at remote site
              --delete-first       delete old files before transferring new ones
          -s, --allow-suid         set suid/sgid bits according to remote site
              --allow-chown        try to set owner and group on files
              --ignore-time        ignore time when deciding whether to download
              --ignore-size        ignore size when deciding whether to download
              --only-missing       download only missing files
          -n, --only-newer         download only newer files (-c won't work)
          -r, --no-recursion       don't go to subdirectories
              --no-symlinks        don't create symbolic links
          -p, --no-perms      don't set file permissions

              --no-umask      don't apply umask to file modes
          -R, --reverse       reverse mirror (put files)
          -L, --dereference        download symbolic links as files
          -N, --newer-than=SPEC    download only files newer than specified time
          -P, --parallel[=N]       download N files in parallel
              --use-pget[-n=N]     use pget to transfer every single file
              --loop               loop until no changes found
          -i RX, --include RX include matching files
          -x RX, --exclude RX exclude matching files
          -I GP, --include-glob GP include matching files
          -X GP, --exclude-glob GP exclude matching files
          -v, --verbose[=level]    verbose operation
              --log=FILE      write lftp commands being executed to FILE
              --script=FILE        write lftp commands to FILE, but don't execut
e them
              --just-print, --dry-run   same as --script=-
              --use-cache          use cached directory listings
          --Remove-source-files    remove files after transfer (use with caution
)
          -a             same as --allow-chown --allow-suid --no-umask

     When using -R, the first directory is local and  the  second
     is remote.  If the second directory is omitted, base name of
     first directory is used.  If both directories  are  omitted,
     current local and remote directories are used.

sdio ★★★★★
()
Ответ на: комментарий от sdio

Да не стоило :) С командой которой не нужно параметров я могу разобраться :)

alexru ★★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.