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

  Unix/Linux Go Back    


Shell Programming and Scripting Unix shell scripting - KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and shell scripts and shell scripting languages here.

Conversion batch shell script

Shell Programming and Scripting


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 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 Unix and Linux 03-23-2013
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 24 July 2016, 12:35 AM EDT
Location: NM
Posts: 10,776
Thanks: 428
Thanked 950 Times in 882 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 Unix and Linux 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 Unix and Linux 03-25-2013
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 22 July 2016, 6:54 PM EDT
Location: Saskatchewan
Posts: 21,387
Thanks: 962
Thanked 3,887 Times in 3,617 Posts
What exactly are you running, on what kind of machine? Your question as-is doesn't make much sense.
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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:37 AM.