Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by Generoso (Prior)
on Dec 28, 2010 at 20:27 UTC ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://879509]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-26 03:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found