Click here to Skip to main content
15,913,261 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
GeneralRe: PHP Source code controller Pin
Muhammad Mazhar14-Jul-09 2:17
Muhammad Mazhar14-Jul-09 2:17 
GeneralRe: PHP Source code controller Pin
VarunPrakash14-Jul-09 18:47
VarunPrakash14-Jul-09 18:47 
QuestionUbuntu command for Sharing folders Pin
suthakar5611-Jul-09 18:20
suthakar5611-Jul-09 18:20 
AnswerRe: Ubuntu command for Sharing folders Pin
Jimmanuel12-Jul-09 1:28
Jimmanuel12-Jul-09 1:28 
GeneralRe: Ubuntu command for Sharing folders Pin
Indrora23-Sep-09 6:44
Indrora23-Sep-09 6:44 
QuestionRecursively Replace Text in Files Pin
Grahamfff10-Jul-09 2:47
Grahamfff10-Jul-09 2:47 
AnswerRe: Recursively Replace Text in Files Pin
RomanMzh24-Jul-09 3:00
RomanMzh24-Jul-09 3:00 
Questionfind -exec command to recursively delete all the files inside a folder with a specified name Pin
Joan M8-Jul-09 6:51
professionalJoan M8-Jul-09 6:51 
Hello all,

First of all I'm a Linux newbie (at much) so be gentle please... :P

I've been able to see that the version control software that the people on the design department is generating a special folder named OBSOLETE for each project.

Inside each of those folders all the data is not important.

I'm trying to delete all the contents inside those folders recursively.

Now I've been able to delete the obsolete folders, and even the help in the software tells me that doing it won't hurt the system... I would like not to do it.

Now I've used:

find . -name obsolete -exec rm -rf {} \;

The problem here is that I also remove the folder obsolete...

Does anyone know what should I write in order to remove the contents of all the obsolete folders and not the folders it selves?

As always, thank you in advance.


AnswerRe: find -exec command to recursively delete all the files inside a folder with a specified name Pin
Jimmanuel8-Jul-09 14:04
Jimmanuel8-Jul-09 14:04 
GeneralRe: find -exec command to recursively delete all the files inside a folder with a specified name Pin
Joan M8-Jul-09 20:36
professionalJoan M8-Jul-09 20:36 
AnswerRe: find -exec command to recursively delete all the files inside a folder with a specified name Pin
Jörgen Sigvardsson18-Sep-09 8:32
Jörgen Sigvardsson18-Sep-09 8:32 
QuestionNeed to capture raw HTML and write to file any page displayed on browser Pin
Antone Eason8-Jul-09 3:15
professionalAntone Eason8-Jul-09 3:15 
AnswerRe: Need to capture raw HTML and write to file any page displayed on browser Pin
jschell22-Jul-09 13:13
jschell22-Jul-09 13:13 
AnswerRe: Need to capture raw HTML and write to file any page displayed on browser Pin
Antone Eason22-Jul-09 23:10
professionalAntone Eason22-Jul-09 23:10 
Questionpersonal profile pages for every user Pin
dialogue6-Jul-09 8:00
dialogue6-Jul-09 8:00 
AnswerRe: personal profile pages for every user Pin
EliottA6-Jul-09 8:45
EliottA6-Jul-09 8:45 
AnswerRe: personal profile pages for every user Pin
Marc Firth9-Jul-09 2:47
Marc Firth9-Jul-09 2:47 
Questionbasic php help Pin
raycode20074-Jul-09 6:00
raycode20074-Jul-09 6:00 
AnswerRe: basic php help Pin
fly9044-Jul-09 12:51
fly9044-Jul-09 12:51 
AnswerRe: basic php help Pin
Marc Firth9-Jul-09 2:49
Marc Firth9-Jul-09 2:49 
GeneralArray loop / string comparison help Pin
Bryant May4-Jul-09 2:26
Bryant May4-Jul-09 2:26 
GeneralRe: Array loop / string comparison help Pin
fly9044-Jul-09 2:57
fly9044-Jul-09 2:57 
GeneralRe: Array loop / string comparison help Pin
Bryant May4-Jul-09 3:03
Bryant May4-Jul-09 3:03 
Questionproblem in inserting the data in database Pin
pallavi shrivastava4-Jul-09 2:03
pallavi shrivastava4-Jul-09 2:03 
AnswerRe: problem in inserting the data in database Pin
fly9044-Jul-09 2:22
fly9044-Jul-09 2:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.