13 дек. 2012 г. · How would I delete the directories that are older than 10 days with a bash shell script? ... Delete Directory Older Than n Days Using Find. find and delete file or folder older than x days - Stack Overflow linux - Delete all directories and its files older than a 60 days ... Другие результаты с сайта stackoverflow.com |
13 сент. 2022 г. · I am running a crontab job to make the backups and then trying to delete the oldest directories, but keeping 14 of them. This gives me all the directories ... How to delete all directories in a directory older than 2 weeks ... delete directory older than 7 days - Unix & Linux Stack Exchange Другие результаты с сайта unix.stackexchange.com |
21 авг. 2012 г. · I have a command which I am using to find and delete files within a directory older than a specified time. The command is: sudo find /path/to/dir/* -daystart - ... |
4 февр. 2021 г. · Delete the directories that are older than 10 days with a bash shell script. This will do it recursively for you. |
7 июл. 2017 г. · So we want to get the (regular) files that have mtime more than 7 days ago AND are not within the 20 newest files. |
31 мая 2012 г. · Let's say that directories for deletion are located in /tmp/files/. The script should check all directories in this path and delete all that was created one ... Bash script to delete files older than x days with subdirectories Bash script to delete files older than x days within ... - Super User Delete All Files Older Than Specified Time Within A Directory ... How to delete files in linux older than 1 year? - Super User Другие результаты с сайта superuser.com |
25 янв. 2011 г. · rm -r will find and delete all directories older than 60 minutes (adapt accordingly) which are not named dirname1 or dirname2. |
Requirement is to list the files older than 365 days from multiple directories and delete them and log the list of files which are deleted to a log file. so 1 ... |
29 июн. 2023 г. · Like the file delete example we can delete it with the -exec rm -rv {} + -depth options, what it does is that deletes each file in the directory ... |
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 {} \; |
Novbeti > |
Axtarisha Qayit Anarim.Az Anarim.Az Sayt Rehberliyi ile Elaqe Saytdan Istifade Qaydalari Anarim.Az 2004-2023 |