Conversion batch shell script | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

Conversion batch shell script

Shell Programming and Scripting


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 03-23-2013
monisha monisha is offline
Registered User
 
Join Date: Mar 2013
Last Activity: 30 March 2013, 12:54 AM EDT
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Conversion batch shell script

while converting batch file to shell script ...dis command is ther i dunno how to change...can anyone knws how to change into shell script

Code:
rm !(D:\temp\XX.txt)


Last edited by jim mcnamara; 03-23-2013 at 10:05 PM..
Sponsored Links
    #2  
Old 03-23-2013
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 23 October 2014, 9:54 PM EDT
Location: NM
Posts: 10,250
Thanks: 282
Thanked 803 Times in 747 Posts
This does not make sense: the \ character and D: are all windows related. rm is a UNIX command. So this is a mixture and would not have run anywhere.
Sponsored Links
    #3  
Old 03-25-2013
monisha monisha is offline
Registered User
 
Join Date: Mar 2013
Last Activity: 30 March 2013, 12:54 AM EDT
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
while running the batch file...it erroring like share directory does not exist...it means any previlege?
    #4  
Old 03-25-2013
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 23 October 2014, 6:57 PM EDT
Location: Saskatchewan
Posts: 19,677
Thanks: 822
Thanked 3,351 Times in 3,138 Posts
What exactly are you running, on what kind of machine? Your question as-is doesn't make much sense.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Dos batch script to execute unix shell script Shri123 Shell Programming and Scripting 2 01-31-2012 02:40 AM
Executing a batch of files within a shell script with option to refire the individual files in batch goddevil Shell Programming and Scripting 2 01-09-2012 02:51 PM
Help with 'batch conversion using lame' shell script Kingzy Shell Programming and Scripting 8 04-07-2010 05:54 PM
Change the Windows Batch script to UNIX shell script. tomailraj Shell Programming and Scripting 5 08-27-2009 11:44 AM
batch command in a shell script ivvo UNIX for Dummies Questions & Answers 7 07-20-2005 09:06 AM



All times are GMT -4. The time now is 06:17 AM.