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
get -transfer=ascii *
mv * "backup folder