10 окт. 2011 г. · You can just use ls to find files that match a pattern in a directory. ls /dev/abc-* If you do need to use find, you can use the -maxdepth 1 switch to only ... |
17 сент. 2015 г. · I need to find files in the current folder (non-recursively) and some other folders (recursively). For example I have a tree structure like ... |
26 февр. 2014 г. · I am trying to display a list of files from my current folder. The files must be modified within the last n days but - and here comes my problem - they must ... |
20 янв. 2011 г. · The simplest way is to exploit the shell globbing capabilities by writing echo */. If you like to use ls, eg to apply formatting/sorting options, make it ls -d ... |
23 нояб. 2012 г. · find . -type d can be used to find all directories below some start point. But it returns the current directory ( . ) too, which may be undesired. How can it ... |
13 мая 2012 г. · Using the -maxdepth 1 option ensures that you only look in the current directory (or, if you replace the . with some path, that directory). |
18 нояб. 2010 г. · One way to process non-directories before directories is to run a find command to iterate over directories, and a separate command (possibly find again) to ... |
5 мая 2011 г. · Use find : find . -name "foo*". find needs a starting point, so the . (dot) points to the current directory. If you need case insensitive ... |
25 июн. 2021 г. · I might try a command like grep to search through a directory. find ~/Downloads |grep -e "\.zip$". |
9 февр. 2012 г. · How do I use grep to search the current directory for any and all files containing the string "hello" and display only .h and .cc files? linux ... |
Novbeti > |
Axtarisha Qayit Anarim.Az Anarim.Az Sayt Rehberliyi ile Elaqe Saytdan Istifade Qaydalari Anarim.Az 2004-2023 |