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

mdel(1) 						      General Commands Manual							   mdel(1)

NAME
mdel - mtools utility to delete a DOS file SYNOPSIS
mdel [-v] msdosfile [msdosfiles...] OPTIONS
Specifies verbose mode. File names are echoed as they are processed. DESCRIPTION
The mdel command deletes a file or files on an DOS file system. Unlike the DOS convention, multiple arguments can be specified. If a read only file is encountered, the mdel command queries whether or not to delete the file. Unlike the DOS convention, DOS subdirectory names that contain the '/' or '' separator are supported. If you use the '' separator or wildcards, you must enclose file names in quotes to protect them from the shell. The mcd command can be used to establish the device and the current working directory (relative to DOS), otherwise the default is A:. EXIT STATUS
The following exit values are returned: Success. Failure. ENVIRONMENT VARIABLES
The following environment variables affect the execution of mdel: If set, this variable names the file that contains the name of the cur- rent mtools working directory as established by the mcd command. If this variable is not set, the file $HOME/.mcwd is used. FILES
Contains the name of the current mtools working directory as established by the mcd command. If this file does not exist, the default mtools working directory is A:. Executable file SEE ALSO
Commands: mcd(1), mtools(1) mdel(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