Virt IT

About Virtual things and more

find files before specific date in linux and move them to another directory

find -not -newermt "nov 01, 2015" -exec mv {} /tmp \;

-not -newermt -> specifies the modification time of the file must be older (hence the -not)

23 november 20162 februari 2017 marco
Vorige Verder
Categorieën
  • HTML
  • Linux
  • Mac OSX
  • Microsoft
  • Uncategorized
  • VMware

Met trots aangedreven door WordPress. Ontworpen door StylishWP