moving the current list of files in the remote server

Advertisement

afahmy
Joined:
Posts:
1

moving the current list of files in the remote server

hi
I am using a script to download files from the remote server and then move them to a backup folder.
I was using the below script but the problem is that when using " * " some times I move files that weren't downloaded as they were written after the download step has been invoked.
how can I retrieve the list of the files first then download and move that list

#script
get -transfer=ascii *
mv * "backup folder

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum