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 Linux or Unix Question    
 
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: 22 May 2015, 9:03 PM EDT
Location: NM
Posts: 10,452
Thanks: 336
Thanked 860 Times in 799 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 May 2015, 6:50 PM EDT
Location: Saskatchewan
Posts: 20,650
Thanks: 894
Thanked 3,653 Times in 3,416 Posts
What exactly are you running, on what kind of machine? Your question as-is doesn't make much sense.
Sponsored Links
Closed Linux or Unix Question

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 01:20 AM.