#237 tar takes drive letter as hostname: function not implemented

Tar
open
GnuWin
Developer (39)
5
2012-07-26
2005-04-24
Anonymous
No

tar -tf X:path\archive.tar

will issue the error "function not implemented". As a
workaround, you have to run:

X:
tar -tf path\archive.tar

This is problematic when you don't call tar manually,
but when a script is given a full filename (with drive
& path) and cannot handle it.

I understand the problem stems from TAR being a UNIX
program where drive letters don't exist.

PROPOSITION: Couldn't a option switch be introduced
that allows TAR to decide whether X: means a hostname
or a drive letter? Even better, for hostnames, make TAR
recognise Windows' \hostname\path\archive.tar syntax.

Discussion

  • Philipp Sternberg

    Logged In: YES
    user_id=1819303
    Originator: NO

    Unfortunately this doesen't help you when you're using the -g option (for incremental updates)and give it an absolute path name.
    Please fix tar in that way that the -g option is affected by --force-local too.

    Anyway thank you guys for all your development efforts!!!

    Cheers

    Phil

     
  • Kees Zeelenberg

    Kees Zeelenberg - 2007-10-25

    Logged In: YES
    user_id=181449
    Originator: NO

    Perhaps bsdtar --newer is a solution?

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks