
February 1st, 2012, 06:05 PM
|
|
|
|
Ncftp recursive get all files then delete everything
Hi,
I'm using ncftpget to get all the files in a remote ftp directory tree, then delete all the files after they have been downloaded.
Code:
ncftpget -u username -p lamepass -R -DD ftp://10.0.1.14
This works great, except it leave all the empty directories intact.
Does anyone have a simple way of clearing out all these empty remote directories? with ncftp would be great but, I'd like to hear of any other way.
THanks,
|