13 июн. 2013 г. · You can do it with find only: find . -name '*.xml' . is the current directory. If you need to search in another directory, replace . with ... |
19 июн. 2012 г. · You can use the find command: find YOUR_STARTING_DIRECTORY -type d -name "*99966*" -print. Example: find ~ -type d -name "*99966*" -print. |
16 авг. 2018 г. · One option that can be used is to nest the commands: find . -type d -name 'EmptyMe' -exec find {} -mindepth 1 -delete \; |
8 мая 2015 г. · To find only regular files--and not folders, symbolic links, and special device nodes--you can use -type f. This is frequently recommended and sometimes quite ... |
3 янв. 2017 г. · In the parent directory, you could use find and then run grep on only those files: find . -type f -iname "file.txt" -exec grep -Hi "pattern" '{}' + |
30 дек. 2018 г. · Use: find -iname "*.html" -printf "%f\n" It will look for all html files and only prints out their name. |
31 мая 2012 г. · Try find -iname filename.txt command. This command searches for and displays the paths of all files that exist in the system. |
17 авг. 2013 г. · Just press Ctrl + Alt + T on your keyboard to open Terminal. When it opens, run the command below: find . -type f -name "*.txt". |
23 сент. 2022 г. · With the -R or --recursive option, it will go into any directory that is specified on the command line. |
2 июн. 2012 г. · I want to search all files recursively from the directory I am in for a particular string. I tried grep -r -i my_string and I tried it in a test folder with ... |
Novbeti > |
Axtarisha Qayit Anarim.Az Anarim.Az Sayt Rehberliyi ile Elaqe Saytdan Istifade Qaydalari Anarim.Az 2004-2023 |