Now my concerns is to search all the files coming under all the dir(s)/sub-dir(s) except the dir(s) and sub-dir
(s) belongs to archive which are 1days back..........i.e. i should not include those files coming under archive dir and sub-dir
This command will find the "directory name" in the current loaction.
Current location is denoted by '.' and you can give another path of directory.
You can go down to no. of depths in a directory structure, but you have to manually specify that in above find command.
thankx a lot.......I think u have not gone thru the the que properly.....
by giving find . -type d , it will list all the dir under your current dir, also if some sub directories are there...
but my query : is there any find command thru which i can list all the directory who doesn't have child dir i.e. sub directories.....?????
here in my case i should loop thru all the folder mentioned in my original posted one except archive folder.....
you suggestion is my last option, but i am wondering is there any find or anything else command thru which i can achieve the question.....if so kindly suggest which will reduce into one single command line???