Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: jur on December 17, 2009, 07:21:09 PM

Title: Priority of filetool vs xfiletool?
Post by: jur on December 17, 2009, 07:21:09 PM
Which takes priority between filetool and xfiletool?

For example, in a case where /home/tc is backed up, I specify as many as possible folders in xfiletool to limit backup and restore time. So, I want to exclude /.wine from the backup, but I want to include just one file, /.wine/drive_c/windows/scad3.ini in the backup.

Will it work to put
home/tc/.wine/drive_c/windows/scad3.ini in filetool, and
home/tc/.wine in xfiletool?
Title: Re: Priority of filetool vs xfiletool?
Post by: jur on December 17, 2009, 07:46:01 PM
OK I just tried it out and it doesn't work. Apparently xfiletool has priority.

But the sequence is a bit complex, in filetool I have

home/tc
home/tc/.wine/drive_c/windows/scad3.INI

while in xfiletool, I have

home/tc/.wine

This results in the INI file not getting backed up.

To get the backup to happen, I have to specify all the various files and sub-directories in ./windows separately in xfiletool to exclude these from backup, quite a long list.

I believe this to be an issue to be addressed - filetool should have priority. Plus it is a lot simpler and cleaner from the user point of view.
Title: Re: Priority of filetool vs xfiletool?
Post by: roberts on December 17, 2009, 08:36:26 PM
Please refer to the manpage of tar. Specificially the -T and -X options.