I have a directory with multiple files of same name.
../directory ls File.txt File.txt File1.txt
How can I move all files to a new directory (/new) using mv
../new ls File.txt File.txt File1.txt
Update: The files are being FTPed to an UNIX directory by a source system, which needs to be processed using shell script. Once done I need to move multiple instances of the same file (if any) to an Archive directory.
And by "processed" all I am doing is Copying it to one Dir. And Archive in another using MV. Using cp n mv only one instance of the file is being processed.