Showing posts with label 1000. Show all posts
Showing posts with label 1000. Show all posts

Tuesday, October 6, 2009

To get the top 1000 lines of all the files in a folder in another folder keeping the original file name same

To copy files stripped from one folder to another
cd dir;
for file in *
do
head -1000 $file > ../dir_temp/$file
done

Sphere: Related Content