WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: filetool.sh -b : are others parameter possible like...  (Read 2277 times)

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
filetool.sh -b : are others parameter possible like...
« on: January 03, 2012, 01:20:26 PM »
-w: ask for permission before overwriting a new file version in the existing backup
(-i:)  inform when a file was deleted from the backup (it was deleted before from the .filetool.lst)
?

I had the case before where my resolv.conf file (for an usb modem) from a backup, was overwritten from a log into a wlan net.
When I made a backup later, I was not informed the file was automatic overwritten from wifi.sh
It took time to find the resolv.conf was overwritten during a backup.
http://forum.tinycorelinux.net/index.php/topic,12057.msg64265.html#msg64265
Any warnings would be great.

Like I would use:
filetool.sh -b     for the first backup (or brutal backups)
filetool.sh -bw  for asking if an existing file can be overwritten by a new version (Informations could be published if a file was deleted..).

I came to this idea because I was wondering the quality of the script "tce-update" where update/not updates information are on the screen during the script execution.
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: filetool.sh -b : are others parameter possible like...
« Reply #1 on: January 03, 2012, 05:40:40 PM »
I found other options, have you tried typing "backup" at the terminal?   I know it's not what floppy had in mind but maybe more options exist already??

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: filetool.sh -b : are others parameter possible like...
« Reply #2 on: January 03, 2012, 06:17:02 PM »
Typing filetool.sh at the prompt shows current options.

Usage: filetool.sh options device
Where options are:
-b backup
-p prompt
-r restore
-s safe backup mode
-d dry run backup

backup as a convenience option was added for 4.2 it is in the 4.2 announcement post.
10+ Years Contributing to Linux Open Source Projects.