11-27-2001
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 ?????
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
As the title sugests I need to compress files from DOS to Unix.
The files should be in .Z format, as created using 'compress' in an Unix environment.
Ligs (2 Replies)
Discussion started by: ligs
2 Replies
2. Shell Programming and Scripting
Hi !
I need to convert a DOS batch file to Unix Shell script. Can anybody help me by providing equivalent Unix shell script code to this DOS batch code?.
for /F "tokens=2,3,4 delims=/- " %%i in ("%date%") do set DateStamp=%%k%%i%%j
Any help would be great.
Thanks,
John. (1 Reply)
Discussion started by: john413
1 Replies
3. Cybersecurity
hi eveybody,
i use sco unix as server and dos as client . how i can connect from unix server to dos client ( how to telnet to dos and run commands?)?
thanks. (1 Reply)
Discussion started by: shrb78
1 Replies
4. SCO
hi eveybody,
i use sco unix as server and dos as client . how i can connect from unix server to dos client ( how to telnet to dos and run commands?)?
thanks. (1 Reply)
Discussion started by: shrb78
1 Replies
5. Shell Programming and Scripting
Hi,
Is there any method to connect unix box(Excecuting unix commands through Batch Files) through DOS prompt. (1 Reply)
Discussion started by: shekhar_ssm
1 Replies
6. UNIX for Dummies Questions & Answers
Is any one who know a good tutorial for Unix bash script and Ms-Dos scipt??
if yes, if is possible to upload it or give me the link???
What is the difference betwwen uvix and ms-dos script?? (1 Reply)
Discussion started by: Tom2
1 Replies
7. UNIX for Dummies Questions & Answers
I'm baffled..... the system I work on creates files every Mon-Friday
I'm trying to delete all files older than 30 days old from a Unix prompt, the command I'm using is:
find /directory/ -mtime +30 -exec rm {} \;
however it returns /directory/filename: 644 mode ? (y/n) for every file! ... (1 Reply)
Discussion started by: bquattrone
1 Replies
8. UNIX for Dummies Questions & Answers
Hi
I have a file:
r58778.3|SOURCES={KEY=f665931a...,fw,221-705}|ERRORS={16_1:T,30_1:T,56_1:C,57_1:T,59_1:A,101_1:A,115:-,158_1:C,186_1:A,204:-,271_1:T,305:-,350_1:C,368_1:G,442_1:C,472_1:G,477_1:A}|SOURCE_1="Contig_1092402550638"(f665931a359e36cea0976db191ff60ff09cc816e)
I want to retain... (15 Replies)
Discussion started by: Alyaa
15 Replies
9. Shell Programming and Scripting
Hi All ,
I am using the below if condition to delete files .
if
then
if ; then
log_err "Trigger File ${LINKTRIGGER} does not exist!"
fi
log_msg "Deleting the Linktrigger"
rm -v ${LANDINGDIR}/${LINKTRIGGER}.*
else
if ; then
log_err "Trigger File ${TRGFILE} does not exist!"
echo... (11 Replies)
Discussion started by: Hypesslearner
11 Replies
10. Windows & DOS: Issues & Discussions
So I want to skim through all folders (ongoing from the curr dir) and delete all files that contain the string:
"in conflikt standing copy".
Is this possible WITH DOS ? (1 Reply)
Discussion started by: pasc
1 Replies
LEARN ABOUT PLAN9
macutil
MACUTIL(1) General Commands Manual MACUTIL(1)
NAME
macutil - A package that deals with MacIntosh files on a Unix system
DESCRIPTION
macutil is a package that contains a number of utilities that deal with MacIntosh files on a Unix system. It contains the following pro-
grams:
binhex Convert files to BinHex 4.0 compatible hexified form.
frommac
Receives files from the MacIntosh on the Unix system.
hexbin Convert hexified files to their MacIntosh format.
macsave
Save a series of files from a MacBinary stream as individual files.
macstream
Combine a series of files to a MacBinary stream.
macunpack
Unpack a MacIntosh archive into its constituents.
tomac Transmits files from the Unix system to a MacIntosh.
BUGS
This manual page is hopelessly incomplete!
SEE ALSO
binhex(1), frommac(1), hexbin(1), macsave(1), macstream(1), macunpack(1), tomac(1)
AUTHOR
Dik T. Winter, CWI, Amsterdam, The Netherlands (dik@cwi.nl)
3rd Berkeley Distribution October 22, 1992 MACUTIL(1)