bash delete directory older than site:stackoverflow.com - Axtarish в Google
13 дек. 2012 г. · find supports -delete operation, so: find /base/dir/* -ctime +10 -delete; I think there's a catch that the files need to be 10+ days older too. ...
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.
26 окт. 2020 г. · I'm trying to delete all directories in /mnt/games/codes that are older than 60 days. The directories could be empty or not, but I want them all deleted.
29 авг. 2016 г. · This command will delete all directories which are located at /path/, "without checking" their sub-folders, after 14 days.
20 февр. 2017 г. · I want to delete automatically all files and folders older that 7 days (so FOLDER , ANOTHERFOLDER , ... , FILE , ANOTHERFILE , ... )
18 дек. 2014 г. · To delete directories in /TBD older than 1 day: find /TBD -mtime +1 -type d | xargs rm -f -r.
4 сент. 2017 г. · Using the find command I'd like to remove all directories located at /home/ubuntu/pub/sfmc/Downstream which are more than 5 days old.
22 сент. 2015 г. · I want to find the files and directories which have not been modified since last 14 days so that I can delete those files and directories.
27 окт. 2016 г. · rm does NOT remove directories, unless you're running it in recursive ( -r ) mode. you have to use rmdir to remove directories.
9 нояб. 2013 г. · Try find $BASE_DIR -mindepth 1 -maxdepth 1 -type d -ctime +90 -exec rm -rf {} \; This will only cover directories directly under $BASE_DIR, but it should avoid
Novbeti >

Краснодар -  - 
Axtarisha Qayit
Anarim.Az


Anarim.Az

Sayt Rehberliyi ile Elaqe

Saytdan Istifade Qaydalari

Anarim.Az 2004-2023