How to move file with certain number of files on linux

just post. will edit more later

# find . -name ‘log2012*.txt’ | sort | head -1997 | xargs mv ../logs2012_1


Leave a Reply