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. |
30 дек. 2018 г. · It will look for all html files and only prints out their name. If you want all names at the same line: find -iname "*.html" -printf "%f ". |
16 авг. 2018 г. · One option that can be used is to nest the commands: find . -type d -name 'EmptyMe' -exec find {} -mindepth 1 -delete \; |
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" '{}' + |
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 ... |
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". |
15 сент. 2012 г. · Just use the find command with the directory name. For example to see the files and all files within folders in your home directory, use find ~. |
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 |