bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] file name with backslash is not archived


From: Динар
Subject: Re: [Bug-tar] file name with backslash is not archived
Date: Tue, 02 Nov 2010 13:08:41 +0300

On Сс, 2010-11-02 at 00:38 -0700, Paul Eggert wrote:
>...
> Ah, thanks, that explains things.  But the problem was not
> within tar: it was that tar was being given the wrong
> command-line argument.
> 

i have tested that with giving simple argument without backslashes, for
that i have created a directory "sed" and copied the file into it, then
have archived the directory this way:
tar -cf x.tar "/home/dinar/Документы/sed"
and it has worked, that means when i have opened that archive with
file-roller, i have seen correct file name in it, and size of archive is
correct.
though, i could not extract it with file-roller; and i could not extract
it with tar this way: i have renamed old sed directory to sed0 and
entered this command:
tar -xf x.tar
and new sed directory has not been created, though i have not seen any
error message, and , listing files has not showed correct file name,
with this command:
tar -tvf x.tar
it has reported:
drwxr-xr-x dinar/dinar       0 2010-11-02 12:57
home/dinar/Документы/sed/
-rw-r--r-- dinar/dinar   65863 2010-09-29 18:29
home/dinar/Документы/sed/SED: How can I replace a newline (\\n)? - Stack
Overflow.html

ist est, it has shown backslash with double backslash, that is not
correct.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]