How to archive old files from the recently added 10 files?

view story

http://www.unix.com – Hi there, I am very new to unix and having trouble with a fairly simple statement: Code: cd /user ls -t -c1 | sed -ne '11,$p' | mv xargs archive/ What I want the code to do is sort all files in a directory by timestamp, select all of the files after the 10th file, and then move those files to an /archive folder. When I execute this statement it throws a "file not found" error, is there any obvious reason why this isnt working? Thanks (HowTos)