WalaWiki content from p1k3.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
809 B

  1. WareLogging, FileTransfer, an FTP client. Useful in situations where sane/secure alternatives such as scp are unavailable - won't protect you from the follies of plaintext, but at least it ameliorates the interface pain of plain-jane FTP.
  2. = mirroring local directories =
  3. In a pinch, this works nicely from within lftp:
  4. mirror -x regex_to_exclude -R ./directory ./remote_directory
  5. The -R reverses the normal behavior of mirroring a remote directory to a local one.
  6. = recursively remove directories with lftp =
  7. If you're having a hard time recursively deleting directories with lftp, they might contain dotfiles that aren't visible to the client by default. Edit or create ~/.lftp/rc, and add this:
  8. set ftp:list-options -a
  9. You should then be able to do
  10. rm -r dirname
  11. painlessly.