General discussion


Moving Files

By MK1 ·
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 ?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

What error message do you get?

by jdclyde In reply to Moving Files

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?

Related Discussions

Related Forums