10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello,
I am creating a file with all the source folders included in my git branch, when i grep for the used source, i found source included as relative path instead of absolute path, how can convert relative path to absolute path without changing directory to that folder and using readlink -f ? ... (4 Replies)
Discussion started by: Sekhar419
4 Replies
2. OS X (Apple)
Hi
I have a few hundred files with extension .tar.Z. These files were archived (tar) and compressed (Z) on a UNIX system. I need to unzip them but not extract them. In other words they need to go to .tar extension. I would like to do this on my MAC or on a windows pc. I do not have a UNIX... (3 Replies)
Discussion started by: kalbano
3 Replies
3. Shell Programming and Scripting
HOw can I create a tar file with relative paths
find . -depth -print | xargs tar -cvf /tmp/file.tar ?
Thanks to all who answer (1 Reply)
Discussion started by: BeefStu
1 Replies
4. UNIX for Dummies Questions & Answers
I create the tar file from / like so:
tar cEhf name.tar usr/us
And this creates the tar with the links intact. The problem is that this tar is going to be used for testing, so we want the links to point to the files in the tar. But when I extract the tar into /tmp, I get /tmp/usr/us/... as I... (2 Replies)
Discussion started by: TreeMan
2 Replies
5. Shell Programming and Scripting
Hi All,
I want to read the content of the particular file from tar.Z without extracting.
aaa.tar.Z contains a file called one.txt, I want to read the content of the one.txt without extracting.
Please help me to read the content of it.
Regards,
Kalai. (12 Replies)
Discussion started by: kalpeer
12 Replies
6. UNIX for Dummies Questions & Answers
Can I extract files from an archive file (tar), where the filename includes the full directory path, to a different directory?
For example the archive files may have a filename of
/SrcFiles/XXX/filename.dat
and I want to extract it to /SrcFiles/YYY/filename.dat. Since the archive file was... (1 Reply)
Discussion started by: nmalencia
1 Replies
7. UNIX Desktop Questions & Answers
Can I extract files from an archive file (tar), where the filename includes the full directory path, to a different directory?
For example the archive files may have a filename of
/SrcFiles/XXX/filename.dat
and I want to extract it to /SrcFiles/YYY/filename.dat. Since the archive file... (1 Reply)
Discussion started by: nmalencia
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I want to UNTAR a TAR file at different location. Is it possible?
My TAR file contains the files with absolute path.
Malay (5 Replies)
Discussion started by: malaymaru
5 Replies
9. UNIX for Dummies Questions & Answers
Dear experts
I have received a tar file containing several files with full path. Now I need to restore it in another system but when I want to extract files by using
tar -xvf tarfile
it wants to create all files with full paths again in new system in which I don't have enough previleges.
How... (4 Replies)
Discussion started by: Reza Nazarian
4 Replies
10. Solaris
Is it possible to restore a TAR'ed file off of a tape to a location other than the original location? If so, how?
(The MAN pages give examples of how to restore only to the originating location.)
Thanks!! (1 Reply)
Discussion started by: FredSmith
1 Replies