Sample Header Ad - 728x90

find -not -name not working

2 votes
2 answers
98 views
Run command find /volume1/Ingest -not -name '*.txt' -mtime +1 -print and got the following output
/volume1/Ingest/test/Cube Emergency Lighting Locations Aug 2018.pdf
/volume1/Ingest/Cube Microplex Live Recording info.pdf
/volume1/Ingest/stuff over 7 days will be automatically deleted.txt
But last files matches *.txt, what's going on?
Asked by Ben Edwards (121 rep)
Jun 3, 2025, 02:45 PM
Last activity: Jun 7, 2025, 03:48 PM