1 дек. 2015 г. · I want to list only files in current directory which are older than x days. I have below restriction I used find . -mtime +30 . but this gives files and files ... find files older than X days in bash and delete - Stack Overflow How do I find files older than 14 days? - linux - Stack Overflow Find files older than X days with name - Stack Overflow Другие результаты с сайта stackoverflow.com |
12 сент. 2014 г. · You could start by saying find /var/dtpdev/tmp/ -type f -mtime +15. This will find all files older than 15 days and print their names. Finding files older than x days on a system with a stripped ... Delete only files older than 7 days: -mtime and find Find files older than X days and output them by their size Finding and removing files older than 30 days Другие результаты с сайта unix.stackexchange.com |
First, let us find out the files older than X days, for example 30 days. To do, so, just run: $ find . -mtime +30 -print. The above command will find and ... |
18 окт. 2017 г. · I have a script which finds files in a directory that are older than 30 days and remove them. The problem is that these files are too many. List files older than 10 days. - The UNIX and Linux Forums List the files which are older than 7 days - UNIX and Linux ... Другие результаты с сайта www.unix.com |
24 февр. 2015 г. · I write below command to delete all files that are older than 7 days, but it doesn't work: find /media/bkfolder/ -mtime +7 -name'*.gz' -exec rm {} \; How to list files older than a day with "2015" in filename? Can't find files older than 1 day - Ask Ubuntu Delete Files Older Than One year on Linux - Ask Ubuntu Другие результаты с сайта askubuntu.com |
9 нояб. 2018 г. · On Ubuntu 18.04, find has a -daystart option which allows you to do what you want: find <file_path> -daystart -mtime +5 -name 'sample_file01*.txt' -delete |
16 мар. 2010 г. · find command doesn't directly support -older parameter for finding files older than some required date, but you can use negate statement. |
18 мар. 2024 г. · To find files that are older than x days, meaning they were last modified x days ago, we will use the find command. |
18 мар. 2024 г. · In this tutorial, we'll look at ways to delete files by age on Linux. These commands may also work in other POSIX shells. |
9 сент. 2015 г. · Need to create a script that will at least once a day check a particular directory for files older than 30 days. |
Novbeti > |
Axtarisha Qayit Anarim.Az Anarim.Az Sayt Rehberliyi ile Elaqe Saytdan Istifade Qaydalari Anarim.Az 2004-2023 |