View on GitHub

rsync-backup

versatile rsync based backup scripts with minimal dependencies

Download this project as a .zip file Download this project as a tar.gz file

BACKUP-CLEAN-TMP


NAME

backup-clean-tmp - clean up a temporary directory

SYNOPSIS

backup-clean-tmp

[<OPTION>]... [<BASE-PREFIX>]...

DESCRIPTION

Remove stale subdirectories from a temporary directory.

OPTIONS

-n, --dry-run

Perform a trial run with no changes made.

-h, --help[=<FORMAT>]

Show this help message and exit.

-V, --version

Show version information and exit.

OPERANDS

<BASE-PREFIX>

A subdirectory basename prefix. Subdirectories within the temporary directory having this basename prefix are removed unconditionally.

FILES

./tmp/

A temporary directory.

./tmp/<BASE-PREFIX>-<ANYTHING>/

A subdirectory to be removed unconditionally.

./tmp/<OTHER-BASE-PREFIX>-<ANYTHING>/

A subdirectory to be removed if not used for awhile.

COPYRIGHT

Copyright © 2010 - 2024 Eero Häkkinen <Eero+rsync-backup@Häkkinen.fi>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

SEE ALSO

backup-copy(1), backup-create(1), backup-help(1), backup-purge(1), backup-rsync(1)
Home page