Linux find files that differ from a given date

-1

i would like to search for file that has not a give date.

for example i want to find in my server all file created before 2015-12-01 o after

any suggestion ?

thanks

luca

refer also to Command to find files for specific time range

luca

Posted 2015-12-03T17:41:44.807

Reputation: 1

2There's a difference between not having a given timestamp and having a timestamp smaller than a given timestamp. Since you already found find, I suggest you read the man page first, try something, and get back with a specific question if soemthing doesn't work for you. – Run CMD – 2015-12-03T17:45:55.413

dude, in the man there is not the answer.

my question is still short and specific

how to list in a linux server all file with time stamp different to a given date – luca – 2015-12-03T18:45:07.663

@luca you may start with sharing what you had tried.. that share us the error-message/not-so-wanted-results/printscreen of the trial outcome.. It's a nice way to start looking for help. – p._phidot_ – 2018-10-15T17:40:57.870

Answers

-1

Found

find . -newermt "20151202" ! -not -newermt "20151203" -ls

this will find all file in all dirs with date different from 12-03-2015

luca

Posted 2015-12-03T17:41:44.807

Reputation: 1

All files or all files and folders? (In which case you want to add a -type f). – Hennes – 2015-12-04T09:45:50.607