17 мар. 2017 г. · You would use find: find ./ -name *~ -exec rm {} \; This command will recursively list all files, that match the pattern given for the name. |
23 окт. 2012 г. · Use find for name "a" and execute rm to remove those named according to your wishes, as follows: find . -name a -exec rm -rf {} \; |
14 окт. 2019 г. · Type: rm \' Then hit tabulator key, and bash should complete the file name for you, with proper escaping etc. Then just hit enter to delete it. |
17 окт. 2016 г. · I want to delete all versions of docker images with names that contain a given string ( imagename ). I have tried the below, but it doesn't seem to work. |
3 июл. 2011 г. · This command should do what you you need: ls -1 | grep -v 'good' | xargs rm -f. It will probably run faster than other commands, ... |
12 нояб. 2013 г. · Use this rm command to remove a file named ? : rm ./\? OR from another directory: rm /path/to/\? |
8 мар. 2021 г. · I have a directory structure with many build directories inside. I want remove their content (all files and sub-directories), but leave the directory itself. |
16 февр. 2012 г. · You can do $ rm -r /directory/<14234->(/) to select all the subdirectories of /directory with a numeric value over 14234. |
6 февр. 2022 г. · This will delete every file whose name ends in (1) , recursively: find . -name '*(1)' -exec rm {} +. -name '*(1) (1)' to only delete files ... |
11 дек. 2015 г. · This will allow the removal of file names that begin with a dash (`-'). For example: rm -- -filename. The same behavior can be obtained by using ... |
Novbeti > |
Axtarisha Qayit Anarim.Az Anarim.Az Sayt Rehberliyi ile Elaqe Saytdan Istifade Qaydalari Anarim.Az 2004-2023 |