IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Wrong

You're confusing IFS with the OS's inherent ability to manipulate files with spaces. When working through the shell, these names need to be quoted. Tar handles 'em fine:

\r\n\r\n
\r\n
\r\n[karsten@academy:karsten]$ cd tmp\r\n[karsten@academy:tmp]$ mkdir boxley\r\n[karsten@academy:tmp]$ cd boxley\r\n[karsten@academy:boxley]$ touch "a file with spaces"\r\n[karsten@academy:boxley]$ touch "another of the same"\r\n[karsten@academy:boxley]$ ls \r\na file with spaces  another of the same\r\n[karsten@academy:boxley]$ cd ..\r\n[karsten@academy:tmp]$ tar czvf boxley.tar.gz boxley/\r\nboxley/\r\nboxley/a file with spaces\r\nboxley/another of the same\r\n[karsten@academy:tmp]$ mkdir untar\r\n[karsten@academy:tmp]$ cd untar       \r\n[karsten@academy:untar]$ tar xzvf ../boxley.tar.gz \r\nboxley/\r\nboxley/a file with spaces\r\nboxley/another of the same\r\n[karsten@academy:untar]$ ll\r\ntotal 1\r\ndrwxr-sr-x    2 karsten  karsten       128 Dec 27 18:02 boxley\r\n[karsten@academy:untar]$ ll boxley/\r\ntotal 0\r\n-rw-r--r--    1 karsten  karsten         0 Dec 27 18:02 a file with spaces\r\n-rw-r--r--    1 karsten  karsten         0 Dec 27 18:02 another of the same\r\n
\r\n
--\r\n
Karsten M. Self [link|mailto:kmself@ix.netcom.com|kmself@ix.netcom.com]\r\n
[link|http://kmself.home.netcom.com/|http://kmself.home.netcom.com/]\r\n
What part of "gestalt" don't you understand?\r\n
[link|http://twiki.iwethey.org/twiki/bin/view/Main/|TWikIWETHEY] -- an experiment in collective intelligence. Stupidity. Whatever.\r\n
\r\n
   Keep software free.     Oppose the CBDTPA.     Kill S.2048 dead.\r\n[link|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html]\r\n
New The reason I brought this upo was recovering files from a
doze box to a linux box running rhat 7.0. Mounted a NT drive from the linux box and tarred about a gig onto the linux box tarball.tar. I ftp'd the file to a second linux box running 7.0 and untarred the file. On extraction it had problems with the type of file naming convention with spaces. I manually had to crawl thru the doze box directory by directory to get the files. That is why I brought it up. It appears to not be a problem as shown by your post.
hanx,
bill
will work for cash and other incentives [link|http://home.tampabay.rr.com/boxley/resume/Resume.html|skill set]

You think that you can trust the government to look after your rights? ask an Indian
New Two possible issues I can think of...

...barring your posting commands used.

\r\n\r\n

Some tars have an absolute cap on filename length. I'm not sure what this is with GNU tar, but recursing long names into a directory should identify whether this exists at any of the likely intervals (256, 512, 1024, 2048, 4096 characters, etc.). I have encountered this problem, possibly on either tar, CD ROM (the iso9660 format also has a total name length cap), or NTFS.

\r\n\r\n

Depending on how you were selecting files for inclusion in your tar archive, you may have run into the shell quoting issues mentioned earlier. You'll find that GNU tar does allow for null-terminated filenames, to work around the problem of embedded whitespace. Some folks feed find output to tar, in which case the problem can crop up. One of the reasons I prefer tar over such alternatives as cpio and afio is that tar will handle directory recursion itself while the other tools want input fed from stdin, by means that always require heavy manpage decoding by me. Note that there are some commendable advantages to the filestructures used by cpio & afio, I'm not criticising these.

\r\n\r\n

Bill, you made an absolute statement of what tar could or couldn't do. It's demonstrably wrong for GNU tar. If you care to show methods, we might be able to identify the source of the problem. It's not what you've represented it to be.

--\r\n
Karsten M. Self [link|mailto:kmself@ix.netcom.com|kmself@ix.netcom.com]\r\n
[link|http://kmself.home.netcom.com/|http://kmself.home.netcom.com/]\r\n
What part of "gestalt" don't you understand?\r\n
[link|http://twiki.iwethey.org/twiki/bin/view/Main/|TWikIWETHEY] -- an experiment in collective intelligence. Stupidity. Whatever.\r\n
\r\n
   Keep software free.     Oppose the CBDTPA.     Kill S.2048 dead.\r\n[link|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html]\r\n
New It was over a year ago so bear with me
had a NTFS box with a crossover cable connected to a linux laptop. The Drive was mounted via NFS to the /mnt mount point. Used SOSNT (son of sam nt a nfs server for nt) at the command line in bsh from the root directory used "tar cvf tarball.tar mnt" . after creating the file I disconnected the NT box and using the regular network ftp'd the tar file to a third linux box. Ran the command
"tar xvf tarball.tar" I noticed the ocassional error at that point "foo file name"
cannot extract file cannot extract name. So assumed it had a problem writing so went back to the source to get the files that wernt untarred manually. Now from your example it works just fine. I was using ext2 file systems on both linux boxes and RH 7.0 . Apparently what I saw belonged to another issue because as you have shown he it works just fine. Also works on darwin when I retested after your post. So I saw an abberation?
thanx,
bill
will work for cash and other incentives [link|http://home.tampabay.rr.com/boxley/resume/Resume.html|skill set]

You think that you can trust the government to look after your rights? ask an Indian
     Windows Linux and Mac OS X - a new hallelujia !!! - (dmarker) - (122)
         Re: Windows Linux and Mac OS X - a new hallelujia !!! - (tjsinclair) - (8)
             Re: Windows Linux and Mac OS X - a new hallelujia !!! - (deSitter) - (2)
                 Regarding the mouse - (tjsinclair) - (1)
                     Re: Regarding the mouse - (deSitter)
             Linux kernel - (rickmoen) - (4)
                 The presumption is... - (ben_tilly) - (3)
                     Re: The presumption is... - (rickmoen) - (1)
                         Having the option is valuable, even if not exercised - (ben_tilly)
                     Nah - (tuberculosis)
         MacOS X is NeXTStep (and they can keep it, thanks) - (rickmoen) - (110)
             I guess this is what we get - (tjsinclair) - (81)
                 Well, no, it's not a Linux thing at all - (rickmoen) - (80)
                     Re: Well, no, it's not a Linux thing at all - (dmarker) - (78)
                         Workplace OS rocked - (rickmoen) - (77)
                             good criticism, but only half right (re. filesystems) - (cwbrenn) - (8)
                                 On FAT vs HPFS - (Another Scott) - (6)
                                     Re: On FAT vs HPFS - (rickmoen) - (5)
                                         Re: On FAT vs HPFS - (deSitter) - (4)
                                             Re: On FAT vs HPFS - (Steve Lowe) - (3)
                                                 Re: On FAT vs HPFS - (deSitter) - (2)
                                                     3 copies now on eBay. IBM has it too for $180. -NT - (Another Scott)
                                                     consider picking up eCS - (SpiceWare)
                                 Er, I did say two volumes... - (rickmoen)
                             Partial agreement here - (tjsinclair) - (67)
                                 Thanks for that - (rickmoen) - (4)
                                     Very True (TANGENT) - (cwbrenn) - (3)
                                         Proprietary forks and threat models - (rickmoen) - (2)
                                             Dystopian Vision - (cwbrenn) - (1)
                                                 Re: Dystopian Vision - (rickmoen)
                                 Accident waiting to happen - (tuberculosis) - (61)
                                     You found a way to break your files? Sorry to hear. - (rickmoen) - (60)
                                         You're wrong again as usual - stick to Linux -NT - (tuberculosis) - (59)
                                             Verily, the technopeasant priesthood has spoken - (rickmoen) - (58)
                                                 You don't actually *use* the system, do you. - (tuberculosis) - (57)
                                                     Unix file basics - (rickmoen) - (56)
                                                         HFS File basics - (tuberculosis) - (42)
                                                             Envoi - (rickmoen) - (41)
                                                                 You could run the correct test - (ben_tilly) - (40)
                                                                     This would be my cue to ask this: (new thread) - (static)
                                                                     Exactly - thanks -NT - (tuberculosis)
                                                                     I am understanding unix&tar has different capabilities? - (boxley) - (34)
                                                                         Not sure what you are asking - (tuberculosis)
                                                                         No - (ben_tilly) - (1)
                                                                             my point was Nix tools do not understand all file systems - (boxley)
                                                                         You understand wrong - (kmself) - (30)
                                                                             well lets try it out - (boxley) - (9)
                                                                                 You know dam well... - (folkert) - (4)
                                                                                     point==missed - (boxley) - (3)
                                                                                         Windows, MAC OSX, MacOS9.x, *NIX - (folkert) - (2)
                                                                                             ed zachery -NT - (boxley)
                                                                                             Windows has the bigger problem... - (ChrisR)
                                                                                 Wrong - (kmself) - (3)
                                                                                     The reason I brought this upo was recovering files from a - (boxley) - (2)
                                                                                         Two possible issues I can think of... - (kmself) - (1)
                                                                                             It was over a year ago so bear with me - (boxley)
                                                                             Once again, Todd's explanation - (ben_tilly) - (19)
                                                                                 Using a hammer to drive screws will hurt - (rickmoen) - (18)
                                                                                     I understand your position perfectly - (ben_tilly) - (10)
                                                                                         Re: I understand your position perfectly - (rickmoen) - (9)
                                                                                             If it is not a straw man... - (ben_tilly) - (8)
                                                                                                 Re: If it is not a straw man... - (rickmoen) - (7)
                                                                                                     Funny, I concluded the same as Ben - (tuberculosis) - (6)
                                                                                                         Re: Funny, I concluded the same as Ben - (rickmoen) - (5)
                                                                                                             Little story - you might find it entertaining - (tuberculosis) - (2)
                                                                                                                 Excellent story. Going on the wall. -NT - (admin)
                                                                                                                 This my dear friend... (new thread) - (folkert)
                                                                                                             Since you seem to be missing the point... - (ben_tilly) - (1)
                                                                                                                 Re: Since you seem to be missing the point... - (rickmoen)
                                                                                     I do not think that word means what you think it means. - (tuberculosis) - (6)
                                                                                         Hello, you must be going. - (rickmoen) - (5)
                                                                                             This is obvious? - (tuberculosis) - (4)
                                                                                                 Re: This is obvious? - (rickmoen) - (3)
                                                                                                     At no time did you utter the word "obvious" - nice dodge - (tuberculosis) - (2)
                                                                                                         Re: At no time did you utter the word "obvious" - nice dodge - (rickmoen) - (1)
                                                                                                             Topic at hand - point out what you claim is "obvious" (new thread) - (tuberculosis)
                                                                     Basic point seems to have been missed - (rickmoen) - (2)
                                                                         Yes you have missed it - (tuberculosis)
                                                                         I see so to use OSX effectively - (boxley)
                                                         Never used Apple OSes in my life, - (Arkadiy) - (12)
                                                             Re: Never used Apple OSes in my life, - (rickmoen) - (11)
                                                                 For certain kind of user - (Arkadiy) - (10)
                                                                     Re: For certain kind of user - (rickmoen) - (9)
                                                                         Gee - got an ISBN for that manual? - (tuberculosis) - (2)
                                                                             Re: Gee - got an ISBN for that manual? - (rickmoen) - (1)
                                                                                 He had no difficulty in figuring out how the system works - (ben_tilly)
                                                                         rm - the ultimate corruptor -NT - (Arkadiy) - (2)
                                                                             ouch! R.M. - the ultimate corruptor. -NT - (Arkadiy)
                                                                             rm -rf / - (inthane-chan)
                                                                         isnt that the beauty of nix? It does what it is commanded to - (boxley) - (2)
                                                                             Well, personally.. - (deSitter) - (1)
                                                                                 yup my intro to unix - (boxley)
                     Understood, I just meant - (tjsinclair)
             So where exactly IS NeXT Step in the mix? - (cwbrenn) - (3)
                 I believe it's the Cocoa API + Objective C -NT - (tjsinclair)
                 As I said. - (rickmoen)
                 Its the GUI lib - (tuberculosis)
             Who is Apple Computer? - (tuberculosis) - (8)
                 Pin terpsichory - (rickmoen)
                 Legal matters, GNUStep - (rickmoen) - (6)
                     Did you take a pendantic pill this morning or what? - (tuberculosis) - (5)
                         Rick get his pedantic in suppository form ;-) -NT - (drewk) - (2)
                             We have a suppository forum? - (tuberculosis) - (1)
                                 flame and politics, the suppositories post there :-) -NT - (boxley)
                         But they're only application libraries! - (rickmoen) - (1)
                             You're a loony. (new thread) - (tuberculosis)
             I thought Sun bought NextStep - (boxley) - (3)
                 You're probably thinking of NeWS - (rickmoen) - (2)
                     Nope this is what I remembered Jobs and Sun, OpenStep - (boxley)
                     No, he's thinking of NextStep - (tuberculosis)
             Re: MacOS X is NeXTStep (and they can keep it, thanks) - (karnak) - (10)
                 Re: MacOS X is NeXTStep (and they can keep it, thanks) - (rickmoen) - (9)
                     Nothing wrong with a 68040. - (admin) - (4)
                         Semi-OT: Fatboy Slim still does all his work on an Atari ST -NT - (Meerkat) - (3)
                             That's what I used originally - (admin) - (2)
                                 Do you sound as bad? - (pwhysall) - (1)
                                     Worse. - (admin)
                     Re: MacOS X is NeXTStep (and they can keep it, thanks) - (karnak) - (3)
                         Comparison of OpenStep & WindowMaker? - (kmself)
                         Re: MacOS X is NeXTStep (and they can keep it, thanks) - (rickmoen)
                         Have you considered GNUStep? - (orion)
         Apple and Linux - (orion) - (1)
             Do you ever think before you type? -NT - (tuberculosis)

There are perhaps no more tragic creatures than middle-aged, middle-class tourists, unused to traveling in unfamiliar places, on a lifetime dream vacation.
234 ms