You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://curl.haxx.se/docs/manpage.html says that -Q will abort if a command fails. Later, it says "When speaking to an FTP server, prefix the command with an asterisk (*) to make curl continue even if the command fails as by default curl will stop at first failure." For my use case, an asterisk does the same using SFTP and it does for FTP.
For reasons I won't go into, I must remove a file before transferring a new file, so, my command looks like this:
If /tmp/file1 does not exist, I can see the attempted unlink and that the transfer is done.
I expected the following
I hope that this is not an accident and that it is intentional that -Q '*... means the same for SFTP as it does for FTP. In other words, can I depend that putting a * in front of rm will ignore any error.