Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Deleting Directories from a path by reading information from Database columns

by Generoso (Vicar)
on Dec 28, 2010 at 20:27 UTC ( #879509=note: print w/ replies, xml ) Need Help??


in reply to Deleting Directories from a path by reading information from Database columns

It is not clear what is the relationship between “HDF0009 -> 34567R” and the name of the files you need to delete. Please clarify.


Comment on Re: Deleting Directories from a path by reading information from Database columns
Re^2: Deleting Directories from a path by reading information from Database columns
by Anonymous Monk on Dec 28, 2010 at 20:39 UTC

    Hi,

    HDF0009 -> 34567R



    HDF0009->is the top level directory



    34567R -> is the sub directory in HDF0009( and this 34567R again consists of some sub directories)



    so HDF0009 may have other directories(like 12347R, 56789R...)in addition to 34567R. But here we are trying to delete 34567R because this directory contains wrong data.

      Have a look at this Node http://www.perlmonks.org/?node_id=29734

        Hi, I have an idea on how to delete the directory in Perl. But here I need to delete directories based on the data in the oracle databse.

        According to the script I posted I was able to connect to the database and pull the records I want to delete but not sure from there on how to delete them.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://879509]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2014-09-19 18:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (144 votes), past polls