|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
find all files .mp3 in a direcroty, what command?
Sunday 6 July 2008 15:57, Cristiano wrote:
Hy, i must find all files .mp3 in a directory. then i must print the list in the monitor. what comand can i use? I think "find" but i don t know how to use it. can you help me? sorry for my bad english i m not an english boy. Thanks If you are sure that "file with .mp3 extension == mp3 file" and viceversa, then find /your/dir -type f -iname '*.mp3' (GNU find) or maybe just ls *.mp3 if the all have the same extension? -- All the commands are tested with bash and GNU tools, so they may use nonstandard features. I try to mention when something is nonstandard (if I'm aware of that), but I may miss something. Corrections are welcome. |
|
#2
|
|||
|
|||
|
find all files .mp3 in a direcroty, what command?
Hy,
i must find all files .mp3 in a directory. then i must print the list in the monitor. what comand can i use? I think "find" but i don t know how to use it. can you help me? sorry for my bad english i m not an english boy. Thanks |
![]() |
| Viewing: Web Development Archives > FAQs > Unix/Linux > find all files .mp3 in a direcroty, what command? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|