Sponsored Content
Full Discussion: extract from tar backup
Top Forums UNIX for Advanced & Expert Users extract from tar backup Post 10230 by Kelam_Magnus on Friday 9th of November 2001 03:50:01 PM
Old 11-09-2001
create path

You can create the same path on the new box, /Accounts/2001/10/26. Untar the tarball, in this directory.

Then use "cp -r" to move recursively from there to where you really want it to go. Actually one way to do this is:

"cp -r sourcedir targetdir && rm -rf sourcedir"

Read "man cp" for more details.


Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

tar backup

Hi all, I would like to append list of files to already taken tar backup file. can anybody help? last month backup : cd /accounts/11 tar -cvf monthback.tar * Now I want to add /accounts/12 to monthback.tar is it possible? Krishna (1 Reply)
Discussion started by: krishna
1 Replies

2. UNIX for Dummies Questions & Answers

tar backup problems

Im trying to use tar to backup the os directories. I have a file called bdirs which contains a list of the directories that im trying to backup: /bin /dev /devices /etc /export /home /kernel /lib /local /mnt /opt /platform /proc /sbin start /usr /var /vol (3 Replies)
Discussion started by: blakmk
3 Replies

3. UNIX for Dummies Questions & Answers

Backup help/advice using TAR

Every day we back up all files on our system that are older than 7 days, so effectively we do a day's worth at a time. The way we do this is to issue a find command using mtime +7 - we then loop round and for each result we issue a MV to move the file to a newly created directory. We then TAR the... (20 Replies)
Discussion started by: tonysab
20 Replies

4. UNIX for Dummies Questions & Answers

Tar backup

I am trying to do a full system backup using tar. It then after maybe 12 or so hours comes up with tar: write error: unexpected EOF. I have thoroughly cleaned the drive and tried to use a different drive but it still gives me this error. Can someone help. I am on solaris 8. (1 Reply)
Discussion started by: TMashie
1 Replies

5. Shell Programming and Scripting

extract one file form .tar.gz without uncompressing .tar.gz file

hi all, kindly help me how to extract one file form .tar.gz without uncompressing .tar.gz file. thanks in advance bali (2 Replies)
Discussion started by: balireddy_77
2 Replies

6. UNIX for Dummies Questions & Answers

Backup with tar

Hi friends, I am planning to backup my Solaris Servers to SAN storage using tar. Also palnning to automate the job using Crontab. Can anyone advise how to make the date change automatically everyday for backup. Pls correct me if I am wrong. Thanks (7 Replies)
Discussion started by: solaris5.10
7 Replies

7. Linux

extract glibc-2.3.2.tar.tar

Hi, how can I extract glibc-2.3.2.tar.tar file ? I used tar -xf but does not work. Thank you. (4 Replies)
Discussion started by: big123456
4 Replies

8. UNIX for Dummies Questions & Answers

Tar differential backup

I am backing up some data to an NTFS formatted backup drive. I have to preserve the Unix permissions of the data being backed up and therfore use backup into a tar file. I would like to backup the differnential data in the tar file similiar to how Rsync works so as to save on backup time as it... (1 Reply)
Discussion started by: jelloir
1 Replies

9. Shell Programming and Scripting

File Backup - TAR help

Hi, Another rookie here. I have a script I am developing to backup files from various directories onto a windows machine. Script description: - mv files from various directories - tar all files in that directory - export to windows server for safe keeping, external backups. The... (5 Replies)
Discussion started by: mcclunyboy
5 Replies

10. UNIX for Dummies Questions & Answers

Do I need to extract the entire tar file to confirm the tar folder is fine?

I would like to confirm my file.tar is been tar-ed correctly before I remove them. But I have very limited disc space to untar it. Can I just do the listing instead of actual extract it? Can I say confirm folder integrity if the listing is sucessful without problem? tar tvf file1.tar ... (1 Reply)
Discussion started by: vivien_chu
1 Replies
GENNORM2(8)							 ICU 50.1.2 Manual						       GENNORM2(8)

NAME
gennorm2 - Builds binary data file with Unicode normalization data. SYNOPSIS
gennorm2 [ -h, -?, --help ] [ -V, --version ] [ -c, --copyright ] [ -v, --verbose ] [ -u, --unicode unicode-version-number ] [ -s, --sourcedir source-directory ] [ -o, --output output-filename ] --fast DESCRIPTION
gennorm2 reads text files that define Unicode normalization, them, and builds a binary data file. OPTIONS
-h, -?, --help Print help about usage and exit. -V, --version Print the version of gennorm2 and exit. -c, --copyright Include a copyright notice. -v, --verbose Display extra informative messages during execution. -u, --unicode Specify Unicode version number, such as 5.2.0. -s, --sourcedir source-directory Specify the input directory. -s, --sourcedir source-directory Set the name of the output file. --fast optimize the .nrm file for fast normalization, which might increase its size (Writes fully decomposed regular mappings instead of delta mappings. You should measure the runtime speed to make sure that this is a good trade-off.) COPYRIGHT
Copyright (C) 2009-2010 International Business Machines Corporation and others ICU MANPAGE
15 March 2010 GENNORM2(8)
All times are GMT -4. The time now is 12:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy