Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mdel(1) [bsd man page]

MDEL(1) 						      General Commands Manual							   MDEL(1)

NAME
mdel - delete an MSDOS file SYNOPSIS
mdel [ -v ] msdosfile [ msdosfiles... ] DESCRIPTION
Mdel deletes a file on an MSDOS filesystem. Mdel will allow the following command line option: v Verbose mode. Echo the filenames as they are processed. Mdel will ask for verification prior to removing a read-only file. MSDOS subdirectory names are supported with either the '/' or '' separator. The use of the '' separator or wildcards will require the names to be enclosed in quotes to protect them from the shell. The mcd command may be used to establish the device and the current working directory (relative to MSDOS), otherwise the default is A:/. SEE ALSO
mcd(1) BUGS
Allows multiple arguments, which does not follow the MSDOS convention. local MDEL(1)

Check Out this Related Man Page

MCOPY(1)						      General Commands Manual							  MCOPY(1)

NAME
mcopy - copy MSDOS files to/from Unix SYNOPSIS
mcopy [ -tnvm ] sourcefile targetfile mcopy [ -tnvm ] sourcefile [ sourcefiles... ] targetdirectory DESCRIPTION
Mcopy copies the specified file to the named file, or copies multiple files to the named directory. The source and target can be either MSDOS or Unix files. The use of a drive letter designation on the MSDOS files, 'a:' for example, determines the direction of the transfer. A missing drive des- ignation implies a Unix file whose path starts in the current directory Mcopy will allow the following command line options: t Text file transfer. Mcopy will translate incoming carriage return/line feeds to line feeds. n No warning. Mcopy will not warn the user when overwriting an existing file. v Verbose mode. m Preserve the file modification time. If the target file already exists, and the -n option is not in effect, mcopy asks whether or not to overwrite the file. MSDOS subdirectory names are supported with either the '/' or '' separator. The use of the '' separator or wildcards will require the names to be enclosed in quotes to protect them from the shell. The mcd command may be used to establish the device and the current working directory (relative to MSDOS), otherwise the default is A:/. SEE ALSO
mcd(1), mread(1), mwrite(1) BUGS
Unlike MSDOS, the destination directory may not be omitted. The '+' operator (append) from MSDOS is not supported. No other Mtools command requires the use of a drive letter designation on MSDOS files. local MCOPY(1)
Man Page

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

ftp mdel help

Hello Y'all, Need help on ftp... I want to mdel files on a ftp server where the search is based on a file on the local UNIX box. Example: Files on ftp server: dly1111.txt dly2222.txt dly3333.txt dly4444.txt Text in the local file: dly1111 dly3333 I need the ftp commands... (3 Replies)
Discussion started by: ozzy80
3 Replies

2. Shell Programming and Scripting

mdelete power

hi to all! im using hp-ux 10.2 is it posible for the mdelete command to execute on the root directory if it did not find any file on the specified sub-directory? this is my sample script USER=root PASSWD=root cd /u01/app/oralog/arch ftp -n 192.119.10.3 user $USER $PASSWD prompt... (2 Replies)
Discussion started by: gunsbong
2 Replies

3. Shell Programming and Scripting

mdelete

Hello, I have a big problem with mdelete and I don't know further. In my shell script mdelete filename1 filename2 filename3 etc. does not delete alle files. Here's the log: -rw-r--r-- 1 root root 1 Mar 7 14:40 corrado -rw-r--r-- 1 root root 1 Mar 7 14:40... (1 Reply)
Discussion started by: killmatic
1 Replies

4. UNIX for Dummies Questions & Answers

mdelete command in FTP

What I need to do is ftp some files on a remote server, but before postong the file need to delete any existing file from the path on the remote dir. I am using the mdelete command for the same as follows : open server_name user_id password prompt off ascii cd /test mdelete * IF the... (3 Replies)
Discussion started by: rohini
3 Replies

5. Shell Programming and Scripting

Help with FTP mdelete

Hi, I have some backup scripts running. They allocate the files in separated folders, according to the current day. (01, 02, 03...., 31) After 1 month, the "cycle" starts again, and the files are uploaded to the folder 01, 02... When that happens, I want the previous files to be deleted, so... (4 Replies)
Discussion started by: rafaces
4 Replies