Discussion Locked

Moving Files

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have shell script and part of it involves moving files to a backups directory. The filenames change daily byt would always start with "01File_"
I have included the following command within the script but it does not seem to like the wildcard character
mv /files/today/01File_* /files/today/backups

What am I missing ?
Thanks

1 reply

by jdclyde

What is the error message?

Put in a full file name and try to run the script. Does it run like that?

What are the permissions on the files? What are the permissions on the Backups directory? Does the process have the authority do this?

This discussion is closed to new replies.