-
Senior Member
registered user
An update on the 'update' program
.
Here's an update using Werner's dating method, even in the status lines.
I've included a listing of tarred files, mailed to root, also suitably dated.
I now backup ~124 Mb into 48 Mb of tgz on /mnt-system.
IceWeasel alone accounts for 91 Mb of the 124 Mb it might be noted.
Code:
#!/bin/bash
#
# new.backup: do 'chmod +x new.backup' & 'chown root:root new.backup'
#
cd /
STOR=update$(date +'%m%d%y').tar
echo -e 'Tarring data to '$STOR' in /tmp..\c'
tar -cf /tmp/$STOR KNOPPIX-DATA/home/ KNOPPIX-DATA/etc/ \
KNOPPIX-DATA/root/ mnt-system/boot/syslinux/syslinux.cfg
echo '..Done.'
cd /tmp
STORZ=$STOR.gz
echo 'Zipping to '$STORZ' in /tmp.'
tar -tf $STOR > ~/$STOR.lst
echo -e 'Patience; this may take a little time..\c'
gzip $STOR; echo '..Done.'
#
echo -e 'Moving '$STORZ' to /mnt-system..\c'
mv $STORZ /mnt-system; echo '..Done.'
#
echo 'All done.'
#
exit 0
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Commodore Portable SX-64 Color Computer User’s Guide Sealed/Taped in Plastic Bag
$199.99

TeensyROM+ TR+ v0.4 Cartridge for C64/128 - w/ Case & 32GB SD Preloaded
$89.50

Commodore VIC-20 Diagnostic Cartridge & Test Harness Set - USA seller
$39.99

COMMODORE 250466 REPLICA BUILD | NTSC | VIC-II KAWARI | NEW CHIPS | #2
$379.99

Commodore 64 Serial Cable 6PIN DIN 1541 1571 C64 128 C128 Disk Drive Printer USA
$10.49

Commodore 128 C128 Computer FOR PARTS / REPAIR Untested Missing Key No Cords
$149.99

Vtg 128 / 64 Commodore 1541-II Computer Disk Drive in Box 5.25 Floppy (Working)
$89.99

Commodore 1541 Emulator PI1541 HAT with ROTARY, OLED screen, USA Seller
$29.99

COMMODORE 250466 REPLICA BUILD | NTSC | VIC-II KAWARI | NEW CHIPS
$379.99

Commodore 64 Dead Test & Diagnostic Cartridge & Test Harness Set - USA seller
$39.99