Unix/Linux Go Back    


Shell Programming and Scripting BSD, Linux, and UNIX shell scripting Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions 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 11: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: 3 December 2016, 11:52 AM EST
Location: NM
Posts: 10,875
Thanks: 457
Thanked 985 Times in 916 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: 2 December 2016, 5:18 PM EST
Location: Saskatchewan
Posts: 21,658
Thanks: 1,008
Thanked 3,980 Times in 3,697 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 03: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 03:51 PM
Help with 'batch conversion using lame' shell script Kingzy Shell Programming and Scripting 8 04-07-2010 06:54 PM
Change the Windows Batch script to UNIX shell script. tomailraj Shell Programming and Scripting 5 08-27-2009 12:44 PM
batch command in a shell script ivvo UNIX for Dummies Questions & Answers 7 07-20-2005 10:06 AM



All times are GMT -4. The time now is 05:50 PM.