Created
January 11, 2020 04:41
-
-
Save mthabsheer/514734e48f50fc7a6e6f025980fde333 to your computer and use it in GitHub Desktop.
Linux file listing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Find files in between dates | |
find /path/to/folder -type f -name "file_name_starts_with*" -newermt 2020-01-07 ! -newermt 2020-01-08 -ls | |
Find and delete | |
find /path/to/folder -type f -name "file_name_starts_with*" -newermt 2020-01-07 ! -newermt 2020-01-08 -delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment