find folder older than x days site:askubuntu.com - Axtarish в Google
24 февр. 2015 г. · Explanation: find : the unix command for finding files/directories/links and etc. /path/to/ : the ...
6 авг. 2019 г. · I have directories(have some .txt files) like this. I'd like compress the dirs older than 7 days (by changed date) to it's corresponding ...
10 дек. 2011 г. · The command you refer is find I suppose. You should use the command -exec rm -r {} \; and add the -depth option. The -r option to rm remove ...
3 июл. 2015 г. · This single command should do the job, so it can simply be entered into your crontab: find /opt/abc/* -maxdepth 0 -mtime +2 !
12 нояб. 2018 г. · I want to find all files beginning by backup* older that 1 day in a folder. I do: find /home/ ...
10 окт. 2017 г. · Use -mindepth 1 so that find always only checks subdirectories of 2017? Also, find has a -delete action you can use instead of -execdir rm -rf .
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.
4 окт. 2016 г. · First of all, don't give a glob to find (no files* ), just give it the parent directory ( /path/to/ ). It will deal with recursing into it ...
22 нояб. 2014 г. · X. Ubuntu ... I want to delete all directories in which all files are older than 30 days. ... find /path/to/folder -type d -empty -delete.
11 нояб. 2016 г. · I'm currently using this to only keep the backups for 30 days, how can I omit folders created on the 1st and 15th? find /mnt/clusterfs01-data01/ ...
Novbeti >

 -  - 
Axtarisha Qayit
Anarim.Az


Anarim.Az

Sayt Rehberliyi ile Elaqe

Saytdan Istifade Qaydalari

Anarim.Az 2004-2023