23 янв. 2024 г. · Actual: find . -type f -name '*chrome*' -print -delete. You can make the delete variant remove files quietly by removing the -print option. |
9 янв. 2014 г. · Looking to find all files (recursively) which have an underscore in their file name and then delete them via command line. |
3 июн. 2019 г. · In my tests, if the file is removed in the meantime, not only -delete will affect the exit status but also -mtime. |
5 авг. 2013 г. · You can use find /tmp -type f -size +50000k -delete instead, which is clearer, simpler and more efficient. |
11 дек. 2013 г. · If you are looking for directories, the only real way to prune them is with "find . -type d -name 'directory*' -exec rm -rf '{}'" as you suggest. |
11 июн. 2019 г. · I have a following find command which I trigger via autosys scheduler. The command is used to delete file older than X days. find /home/my_home/ ... |
22 февр. 2012 г. · You can use the following command to delete all files matching your criteria: ls | grep -P "^A.*[0-9]{2}$" | xargs -d"\n" rm. How it works:. |
11 дек. 2015 г. · I would like to take the results from this command: find . -type f -size +200M -exec ls -lh {} \; store the content to a variable of some form, and then delete ... |
27 сент. 2014 г. · find have an -exec argument. If you are trying to delete find output, just use this command: find -iname "*Resume 2004*doc~" -exec rm -f {} \;. |
12 окт. 2011 г. · The rm command, by default, silently removes the named file. By aliasing it to rm -i, you can get into the habit of not checking carefully before pressing ... |
Novbeti > |
Axtarisha Qayit Anarim.Az Anarim.Az Sayt Rehberliyi ile Elaqe Saytdan Istifade Qaydalari Anarim.Az 2004-2023 |