2 окт. 2012 г. · find . -name 'foo'* -type f -delete seems like the simplest answer. You can run this without the -delete flag before to see which files will be ... |
17 дек. 2013 г. · To remove a file whose name starts with a `-', for example `-foo', use one of these commands: rm -- -foo rm ./-foo |
25 мар. 2024 г. · If ' is a part of name of your files, I'll recommend to use find command along with " " to pass the name pattern for your command. |
18 февр. 2018 г. · You could use ImageMagick's “identify” command to tell the bitmap files apart. The rest should be a more or less straightforward scripting exercise. |
31 окт. 2022 г. · I would like to delete a number of files that are contained in a list. The files may contain spaces in their names. |
26 мая 2010 г. · You can try this: find -name ._\* |xargs sudo rm -Rvi. or if your shell doesn't like that: find |grep -e '^\._' | xargs sudo rm -Rvi. |
25 сент. 2011 г. · I tried with this command rm -i [0-9] which only removes the ones that have number in it rm -i *[!a-zA-Z] which only remove the one that does not have a letter ... |
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:. |
19 мая 2010 г. · If you create a file on UNIX/Linux with special characters, such as touch \"la* , you can't remove it with rm "la* . You have to use the inode number. |
6 янв. 2011 г. · Somehow a file named -]???????q got created on my terminal. I tried rm -f "-]???????q" (in double quotes) ... |
Novbeti > |
Axtarisha Qayit Anarim.Az Anarim.Az Sayt Rehberliyi ile Elaqe Saytdan Istifade Qaydalari Anarim.Az 2004-2023 |