The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
df -k and deleting files ajayr111 UNIX for Dummies Questions & Answers 4 03-14-2007 05:03 PM
Deleting Files bc4 UNIX for Dummies Questions & Answers 1 01-25-2007 08:27 PM
Deleting files BG_JrAdmin SUN Solaris 1 11-28-2006 10:17 PM
Deleting old files shiroh_1982 Shell Programming and Scripting 2 06-21-2006 01:42 AM
Deleting the files livetaurean19 Shell Programming and Scripting 0 06-16-2005 01:16 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-27-2001
Registered User
 

Join Date: Nov 2001
Location: Belgium
Posts: 6
Question Deleting Unix files from DOS

I have a DOS script on Windows NT that uses FTP to connect to a Unix server and to copy files to the WinNT.
So far, so good.
Now I want to delete those files on Unix afterwards but I'm unable to delete all files in the directory. How can I delete all the files on Unix from where i did ftp all files to my WinNT ?????
__________________
PVDB
Oracle Developer
Forum Sponsor
  #2  
Old 11-27-2001
Registered User
 

Join Date: Nov 2001
Location: Maryland
Posts: 20
are you permissions set up to allow you to delete?
  #3  
Old 11-27-2001
Registered User
 

Join Date: Nov 2001
Location: Belgium
Posts: 6
Yes they are.

The problem is I can use rm test.xml but for removing a whole directory rm needs a parameter.
rm -r *.xml
On the Unix prompt tis runs fine.
But as from the ftp prompt where i am in at that moment, it doesn't recognize the command anymore.
__________________
PVDB
Oracle Developer
  #4  
Old 11-27-2001
Registered User
 

Join Date: Nov 2001
Location: Belgium
Posts: 6
Smile

OK, I did find it !!!
One should use mdelete *.xml from the frp prompt.

Sorry !
__________________
PVDB
Oracle Developer
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 04:37 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0