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

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.

  • Comment on Re^2: Deleting Directories from a path by reading information from Database columns

Replies are listed 'Best First'.
Re^3: Deleting Directories from a path by reading information from Database columns
by Generoso (Prior) on Dec 28, 2010 at 22:07 UTC

    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.