A
A
AlexFetch2021-03-16 17:10:39
linux
AlexFetch, 2021-03-16 17:10:39

How to display files that were modified 3 or more days ago in the /etc directory?

UNIX
How to display files that were modified 3 or more days ago in the /etc directory and its subdirectories?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
unseriously, 2021-03-16
@unseriously

Search for files that have been modified in the last 7 days, but no later than 3 days ago:

find /target_directory -type f -mtime -7 ! -mtime -3

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question