Hi,
I want to move only files not subdirectories.
I issued the below command, but subdirectories are also gets moved.
mv /ucrrpd/input/upload/ /ucsspd/common/history/
In the above case, all subdirectories in /ucrrpd/input/upload/ also gets moved to /ucsspd/common/history/
I want to move only files in /ucrrpd/input/upload/
Example :
/ucrrpd/input/upload/RRR123.dat
/ucrrpd/input/upload/RRR124.dat
/ucrrpd/input/upload/RRR125.dat
Only RRR files has to be moved not sub directories.
Can anyone help on this. This has to be done in a single line script using mv ?