untrash

Package: WA2L/edrc 1.5.57
Section: General Commands (1)
Updated: 11 November 2020
Index Return to Main Contents

 

NAME

untrash - restore file(s) from trash

 

SYNOPSIS

edrc/bin/untrash [ -h ]

untrash -f filename_1 { filename_n }

 

AVAILABILITY

WA2L/edrc

 

DESCRIPTION

restore file(s) from trash handled by the trash(1) command.

 

OPTIONS

-h
usage message.

-f filelist
list of files to be untrashed.

 

EXIT STATUS

0
no error.

1
LOGDIR or TRASHDIR does not exist. See trash.cfg(4) if you get this error.

2
operating system is not supported. See osid(3) if you get this error.

3
rootdir does not exist.

4
usage listed.

6
configuration file edrc/etc/trash.cfg does not exist.

 

FILES

edrc/etc/trash.cfg
configuration file for trash, untrash and cltrash.

edrc/var/trash/log/
default logfile location of trash, untrash and cltrash.

edrc/var/trash/files/
default location for trashed files.

filename.TRASHED
information and instruction file to document the file trashing and to give instructions how to recover ( untrash ) the trashed file.

 

EXAMPLES

-

 

SEE ALSO

edrcintro(1), cltrash(1), trash(1), trash.cfg(4)

 

NOTES

-

 

BUGS

-

 

AUTHOR

untrash was developed by Christian Walther. Send suggestions and bug reports to wa2l@users.sourceforge.net .

 

COPYRIGHT

Copyright © 2020 Christian Walther

This is free software; see edrc/doc/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
OPTIONS
EXIT STATUS
FILES
EXAMPLES
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html using the manual pages.
Time: 00:14:31 GMT, March 08, 2025