Delete files, but not folders.
I have below command
It deletes all downloaded files AND folders from the remote.
what's the best way using scripting to not delete remote folders, only files?
I know this is asked 1000 times, but I wonder if in 2024 we have a feature for it? Its just because it's been asked so many times... Please new feature if doesn't exist.
"get -filemask=*.zip `"`"${remoteDirectory}`"`" `"`"${localDirectory}`"`" -delete"
what's the best way using scripting to not delete remote folders, only files?
I know this is asked 1000 times, but I wonder if in 2024 we have a feature for it? Its just because it's been asked so many times... Please new feature if doesn't exist.
Last edited by matrixiux on 2024-10-08 12:38; edited 1 time in total