Skip to main content

One Liners And Things

I guess, moving forward I should start putting all my quick commands I find into a collection.  Rather then thinking I can remember them.  That thinking fails me more often than not, and I find myself searching the world again for that one thing that worked.

This will be my avenue for self preservation.

 

Move the last 1000  files to a different location:

ls -a1 | tail -n1000 | xargs -i mv {} ./location

 

This will grow, foe show.