13 июл. 2015 г. · My easy way: find /tmp/* -daystart -mtime +7 -delete the daystart option measure times from the beginning of today rather than from 24 hours ago. Shell script to delete directories older than n days linux - Delete all directories and its files older than a 60 days ... Другие результаты с сайта 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. How to get Bash to find directories older than x days and delete ... delete folders older than 1 day - Unix & Linux Stack Exchange Delete files older than X days + - Unix & Linux Stack Exchange Другие результаты с сайта unix.stackexchange.com |
4 февр. 2021 г. · Delete the directories that are older than 10 days with a bash shell script. This will do it recursively for you. |
18 окт. 2017 г. · Search all directories which are older than 5 days. Example: consider following directory structure: abc/dir1 abc/dir1/dir abc/dir2 abc/dir3 abc/dir3/temp find files older than 30 days old - The UNIX and Linux Forums Delete folders older than 30 days - The UNIX and Linux Forums Finding files older than x days within directory with spaces Другие результаты с сайта www.unix.com |
24 мар. 2018 г. · I'm trying to run a powershell script to delete ALL the contents of a folder and subfolders older than a month. For some reason the below script is not working. |
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 - ... |
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. |
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 {} \; What command can delete folders older than X days or X ... Delete files in a directory older than 7 days, but always leave at ... Auto delete files older than 7 days - Ask Ubuntu Delete files older than 5 days as well as in all subfolders Другие результаты с сайта askubuntu.com |
5 янв. 2012 г. · I'm trying to delete a ton of files older than x days. Now I have a script to do that find /path/to/files* -mtime +10 -exec rm {} \;. How to delete directories older than one hour (cron job) Find directories with all files inside older than X? - Super User linux - delete files older than 10 days and store ... - Super User Другие результаты с сайта superuser.com |
10 февр. 2022 г. · find /[FOLDER_NAME]/* -mtime +[OLDER_THAN_DAYS] -exec rm -rf {} \;. Example deletes all files and folders in tmp folder that are older than ... |
Novbeti > |
Axtarisha Qayit Anarim.Az Anarim.Az Sayt Rehberliyi ile Elaqe Saytdan Istifade Qaydalari Anarim.Az 2004-2023 |