http://www.aros.org AROS-Exec AROS-Exec Archives Power2People
kitty mascottop logo menu

Delete

Index Prev Next


Name

Delete

Synopsis

Delete { (name | pattern) } [ALL] [QUIET] [FORCE]

Function

Deletes files and directories. You may delete several files and directories
by listing them separately or by using wildcards. To abort a multiple
delete, press CTRL-C. Delete will notify the user of which files it
weren't able to delete.
    Delete cannot delete directories which are not empty unless the
ALL option is used. To suppress file and directory names from being
printed while deleted use the QUIET option. If the 'd' protection bit
is cleared for a file or directory, it may not be deleted unless the
FORCE option is used.

Inputs

FILE/M/A  --  files or directories to delete (may contain patterns)
ALL/S     --  recursively delete dirctories
QUIET/S   --  don't print which files/directories were deleted
FORCE/S   --  delete files/directories even if they are protected from
              deletion

Example

Delete RAM:T/#? ALL FORCE

Deletes all directories and files recursively in the directory RAM:T
even if they are protected from deletion.

Copyright © 1995-2024, L'équipe de développement AROS. Tous droits réservés.
Amiga®, AmigaOS®, Workbench et Intuition sont des marques de Amiga Inc. Les autres marques appartiennent à leur propritaires respectifs.