can we use syndelete option to delete files on remote dir

Advertisement

tong
Guest

can we use syndelete option to delete files on remote dir

hi ,

i have try to synchronize a local and remote dir, it works perfectly.

but i will like to perform a delete on the remote dir after this syn, so as to safe space on the remote dir. can we do it using scripting?

i try to use syndelete but it does not work, not sure if i do it correctly, please advice, thanks

Reply with quote

Advertisement

tong
Guest

martin wrote:

So you want to download all the files from remote server and delete them afterwards?
Just use get and rm then.


hmmm... but the file names at the remote dir are randomly generated, can get and rm support *.* ?

Reply with quote

tong
Guest

tong wrote:

martin wrote:

So you want to download all the files from remote server and delete them afterwards?
Just use get and rm then.


hmmm... but the file names at the remote dir are randomly generated, can get and rm support *.* ?


thanks prikryl, I check already, winscp do support wildcat mask, thanks alot.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

guest wrote:

if you are using get and rm what happens if a file is created in the folder after the get and before the rm?
What do you think? :-)
BTW, the next version will support "get /delete".

Reply with quote

Advertisement

You can post new topics in this forum