WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Priority of filetool vs xfiletool?  (Read 1697 times)

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Priority of filetool vs xfiletool?
« 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?

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: Priority of filetool vs xfiletool?
« Reply #1 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.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Priority of filetool vs xfiletool?
« Reply #2 on: December 17, 2009, 08:36:26 PM »
Please refer to the manpage of tar. Specificially the -T and -X options.
10+ Years Contributing to Linux Open Source Projects.