Mike Schilli's Friendly Neighborhood Perl Shop

Home
USArundbrief.com
Resume
CPAN Modules
Articles in English
Articles in German
Mike's Script Archive
English-Japanese Translation Trainer
Adventures with O'Reilly's Safari
10 Easy Steps to Become a California Driver
Unofficial perlmonks.com IRC Channel
My Collection of Outage Pages
Prisma (Computer Club Deutschland)
Mike's Monologues
Mike's Script Archive: bak

bak - Copy files to a backup directory, appending today's date


NAME

    bak - Copy files to a backup directory, appending today's date


DOWNLOAD

bak


SYNOPSIS

    bak [-d backup_dir] file ...
 Options:
   -d     specify a backup directory (defaults to ~/BACKUPS)
   -h     get help
   -q     be quiet


OPTIONS

-d
Specify a backup directory (defaults to ~/BACKUPS)

-h
Prints this manual page in text format.

-q
Don't print progress messages on screen while copying.


DESCRIPTION

bak is a simple command line utility to save snapshots of a file to a backup directory. Typically, it is used in connection with mop.pl which cleans up afterwards and deletes all but daily, weekly and monthly snapshots. See the article on

    http://www.linux-magazin.de/Artikel/ausgabe/2001/09/Perl/perl.html

for details;


EXAMPLES

  $ bak foo   # Copies foo to ~/BACKUPS/foo_2004


LEGALESE

Copyright 2004 by Mike Schilli, all rights reserved. This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.


AUTHOR

2004, Mike Schilli <m@perlmeister.com>


Latest update: 20-Oct-2013