10-12-2006
Tar files
Hi blowtorch,
Thanks a lot . It Worked.
Regards,
Ronald.
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
If i have a bunch of directories that i normally backup with this:
tar cvhf /dev/rmt/0 /export/home
How can i exclude certain subdirectories under the /export/home?
tar cvhf /dev/rmt/0 /export/home | grep -v 'test' ? will that exclude anything named test, and any subdirectories under test? (7 Replies)
Discussion started by: kymberm
7 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I need to create recursive tar archive, while I put there only files of type a*.txt.
Without file filtering the command is: tar cfzf test.tar.gz test_tar/
How I include the switch for including only files with pattern a*.txt ?
Thanks a lot! (1 Reply)
Discussion started by: john.gelburg
1 Replies
3. Shell Programming and Scripting
Hi
experts
problem:
i have a directory "DATA" with lots of subdirectories named as date with hudge data containning files.
Directory = "DATA"
subdirectory = "20090611" & "20090612" ......
20090611 = thousands of files
i wanna apply find command to find all files in... (3 Replies)
Discussion started by: The_Archer
3 Replies
4. UNIX for Dummies Questions & Answers
I have tried:
tar -xfv mytarfile.tar archive/tabv/*
tar -xfv mytarfile.tar --wildcards 'archive/tabv/*'
tar -xf mytarfile.tar -v --wildcards 'archive/tabv/*'
tar -xfv mytarfile.tar --wildcards --no-anchored 'archive/tabv/*'
tar -xfv mytarfile.tar --wildcards `archive/tabv/*`
and none... (5 Replies)
Discussion started by: zapper222
5 Replies
5. Shell Programming and Scripting
Hi there,
I'm new to shell scripting...
I've a situation like to find *.tar files under all subdirectories in "/home/abcd" and i used the below,
find /opt/lhapp ! -name "temp" | more
the above works fine.. Now don't need search few direcotries like "/home/abcd/aaaa",... (15 Replies)
Discussion started by: skcvasanth
15 Replies
6. Shell Programming and Scripting
Hi all,
I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
1 Replies
7. Shell Programming and Scripting
#!/bin/bash
#
name=$1
type=$2
number=1
for file in ./**
do
if
then
filenumber=00$number
elif
then
filenumber=0$number
fi
tempname="$name""$filenumber"."$type"
if (4 Replies)
Discussion started by: TheGreatGizmo
4 Replies
8. Shell Programming and Scripting
Hii,
Could someone help me to append string to the starting of all the filenames inside a directory but it should exclude .zip files and subdirectories.
Eg.
file1: test1.log
file2: test2.log
file3 test.zip
After running the script
file1: string_test1.log
file2: string_test2.log
file3:... (4 Replies)
Discussion started by: Ravi Kishore
4 Replies
9. Shell Programming and Scripting
Hi
I'd like to add the newline:
\tuser: nobody", or "<TAB>user: nobody
to all files named:
docker-compose.ymlin subfolders of pwd with names beginning with 10-20.
Within these files, I'd like to find the line (there'll only be one) containing:
command: celery workerNOTE: As far as... (2 Replies)
Discussion started by: duncanbetts
2 Replies
10. UNIX for Beginners Questions & Answers
hello
i wish to write the result of these below conditions in a file:
1. in a specific folder, i have many tar.gz files.
2. each tar.gz file contains ".dat" file in sub folders.
3. i wish to get the full path of these .dat files, if i find in it a specific word ("ERROR24").
4. all this... (6 Replies)
Discussion started by: jimmyjames9
6 Replies
LEARN ABOUT CENTOS
gensprep
gensprep(8) ICU 50.1.2 Manual gensprep(8)
NAME
gensprep - compile StringPrep data from files filtered by filterRFC3454.pl
SYNOPSIS
gensprep [ -h, -?, --help ] [ -v, --verbose ] [ -c, --copyright ] [ -s, --sourcedir source ] [ -d, --destdir destination ]
DESCRIPTION
gensprep reads filtered RFC 3454 files and compiles their information into a binary form. The resulting file, <name>.icu, can then be read
directly by ICU, or used by pkgdata(8) for incorporation into a larger archive or library.
The files read by gensprep are described in the FILES section.
OPTIONS
-h, -?, --help
Print help about usage and exit.
-v, --verbose
Display extra informative messages during execution.
-c, --copyright
Include a copyright notice into the binary data.
-s, --sourcedir source
Set the source directory to source. The default source directory is specified by the environment variable ICU_DATA.
-d, --destdir destination
Set the destination directory to destination. The default destination directory is specified by the environment variable ICU_DATA.
ENVIRONMENT
ICU_DATA Specifies the directory containing ICU data. Defaults to /usr/share/icu/50.1.2/. Some tools in ICU depend on the presence of the
trailing slash. It is thus important to make sure that it is present if ICU_DATA is set.
FILES
The following files are read by gensprep and are looked for in the source /misc for rfc3454_*.txt files and in source /unidata for Normal-
izationCorrections.txt.
rfc3453_A_1.txt Contains the list of unassigned codepoints in Unicode version 3.2.0....
rfc3454_B_1.txt Contains the list of code points that are commonly mapped to nothing....
rfc3454_B_2.txt Contains the list of mappings for casefolding of code points when Normalization form NFKC is specified....
rfc3454_C_X.txt Contains the list of code points that are prohibited for IDNA.
NormalizationCorrections.txt
Contains the list of code points whose normalization has changed since Unicode Version 3.2.0.
VERSION
50.1.2
COPYRIGHT
Copyright (C) 2000-2002 IBM, Inc. and others.
SEE ALSO
pkgdata(8)
ICU MANPAGE
18 March 2003 gensprep(8)