Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

afahmy

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