LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-11-2011, 05:17 PM   #1
Ujjain
Member
 
Registered: Mar 2009
Posts: 33

Rep: Reputation: 15
How can I find all directories with subdirectories with find?


I use Plogger for my ImageGallery with the broadway2 theme, because it's the only AJAX gallery that is not incredibly ugly (Gallery3, Coppermine + all their themes). Unfortunately Plogger does not support subdirectories, so I'd like to find all subdirectories with find and change the paths. How do I find directories with subdirectories with find? In the following directory only tip/d and tip/e. So find the directories at least 1 level deep.
Code:
images
images/test/*.jpg
images/te3/*.jpg
images/tok/*.jpg
images/tip/d/*.jpg
images/tip/e/*.jpg
images/test/d/*.jpg
PS: I choose Plogger, because other PHP gallery software is just very very ugly and I've tested and installed all options in the results for googling "php gallery". If you know php gallery software that looks decent, please let me know, but that does not include gallery3, coppermine, etc. including their specs.
 
Old 06-11-2011, 06:57 PM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
Code:
find images/ -mindepth 2 -type d
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
find command on subdirectories grob115 Linux - General 3 03-08-2011 11:43 AM
[SOLVED] Find a file in directories without using find command sikanders Linux - Newbie 14 08-06-2010 09:47 PM
[SOLVED] Find not searching subdirectories JosephS Linux - Software 6 07-12-2010 11:16 PM
[SOLVED] command to find a specific word in directories and subdirectories? siranjeevi Linux - Newbie 4 06-09-2010 10:19 AM
Evolution can't find libs in its own subdirectories slackist Linux - Software 3 03-16-2005 10:49 AM


All times are GMT -5. The time now is 02:03 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration