delete files from source directory after download

Advertisement

noade-haan
Joined:
Posts:
2

delete files from source directory after download

hi

is there a way to delete files from the original directory after download?
I need to make sure those files will not be downloaded again to my local directory.

thanks,

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
36,205
Location:
Prague, Czechia

Re: delete files from source directory after download

Use "Files > Download and Delete" command.

Or are you using scripting or any other kind of automation?

Reply with quote

Advertisement

Guest

Re: delete files from source directory after download

I used -delete to the get command, but why deleted file move to my local directory not to rubbish bin. Help me please, my command like:
get -delete /data/backup/*20210302
*batch script.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
36,205
Location:
Prague, Czechia

Re: delete files from source directory after download

I used -delete to the get command, but why deleted file move to my local directory not to rubbish bin.
Do you want to only delete the files, without downloading them? Then don't use get, but rm:
rm /data/backup/*20210302

Reply with quote

Advertisement

You can post new topics in this forum