files from directory to another.
I have 10000 files in a directory. The name is something like:
1.dat
2.dat
3.dat
4.dat
.....
.....
.....
1000.dat.
----
-----
Files are not sorted. I want to move first 500 largerst files from this directory to another directory. Next 500 largest files to another directory.
what would be the simple korn shell script for this problem?
thanks
Last edited by Bhanu72; 07-15-2008 at 08:31 PM..
|