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

You need to import remove_tree, as I said in an earlier post.

And can you please do the most rudimentary of debugging to see what is undefined? Obviously your data doesn't look like you think it does.

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

Replies are listed 'Best First'.
Re^4: Deleting Directories from a path by reading information from Database columns
by Anonymous Monk on Dec 29, 2010 at 00:46 UTC

    Hi, Based on the script above all the values are initialized. So not sure why these errors are coming up and I changed remove_tree to rmtree.

    so it is going to the $basedirectory location and deleting the whole thing