Skip to main content

New answers tagged

0 votes

No ability to delete files on sftp mounted by sshfs

By specifically mointing the volume with the uid=0,gid=0 [root, root] options, you have assigned ownership to root. Replace the values with the results of id -u;id -g, and your life will be easier. ...
waltinator's user avatar
  • 5,498
1 vote

How to make tar save the archive on a remote machine using sftp or ftp?

With curl: tar jcf - ~/importantfiles/* | curl -T- sftp://host/path/to/file.tar.xz Or with shells with support for Ksh-style process substitution, including ksh93, zsh, bash¹: tar jcf >(curl -T- ...
Stéphane Chazelas's user avatar
0 votes

How to make tar save the archive on a remote machine using sftp or ftp?

This works for me: (echo put - <remotefilename.tar.gz>; tar czf - <files>) | ftp <hostname> <port> The ftp program takes commands from stdin, in this case the command was &...
annitaq's user avatar

Top 50 recent answers are included