24 авг. 2012 г. · Using GNU find, you can use -mindepth to prevent find from matching the current directory: find . -type d -maxdepth 1 -mindepth 1 |
28 янв. 2019 г. · Is there a way in linux to look through a directory tree for only those directories that are the ends of branches (I will call them leaves ... |
2 нояб. 2018 г. · Find files in specific directories · You might want to look at the find command, which is better suited for this task. – Panki · I have tried ... |
13 авг. 2019 г. · This would use find to locate any directories beneath the current directory (including the current directory) and pass them to a shell script. |
2 окт. 2013 г. · This command works by producing a list of full paths to files that are exactly 2 levels deep with respect to this directory: /usr/share/festival/lib/voices |
4 июн. 2012 г. · Use find instead Unlike the other answers, the -type d ensures that only directories will be found. |
27 февр. 2017 г. · If you want only the directory names as opposed to their full path, with GNU find , you can replace the -print with -printf '%f\n' or assuming ... |
10 авг. 2018 г. · I need to list the above directories without both shortcut as well as 0.6 folder. I don't won't to search above this location or within any of these folders. |
10 янв. 2023 г. · I am attempting to find files and then grep expression for some string in the files, then only get back the full directory path the files are found in. |
3 дек. 2013 г. · Try find /dir -type d -name "your_dir_name". Replace /dir with your directory name, and replace "your_dir_name" with the name you're looking for. |
Novbeti > |
Axtarisha Qayit Anarim.Az Anarim.Az Sayt Rehberliyi ile Elaqe Saytdan Istifade Qaydalari Anarim.Az 2004-2023 |