SayYou_SayMe
asked on
how to copy all files to different folder with different names
I have many data files under /data/file/
IBM.txt
DELL.txt
GOOGLE.txt
..
..
I want to use 1 unix command to backup all files to another folder /backup/file/
IBM.bkp
DELL.bkp
GOOGLE.bkp
..
..
cp /data/file/*.txt /backup/file/*.kbp
it does not work
IBM.txt
DELL.txt
GOOGLE.txt
..
..
I want to use 1 unix command to backup all files to another folder /backup/file/
IBM.bkp
DELL.bkp
GOOGLE.bkp
..
..
cp /data/file/*.txt /backup/file/*.kbp
it does not work
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.