12-23-2004
Tar only the Directories and Sub Directories
Hi all,
I want to only tar the Directories and the Sub Directories. I dont want the files which are created in those directories.
Can you please help me out in this issue.
Regards
Andy
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do I exclude some directories while creating a tar file with a number of directories?
thanks. (2 Replies)
Discussion started by: uchachra
2 Replies
2. Shell Programming and Scripting
In a bash script I am writing I am having a problem excluding selected directories from tar.
From the machine $SERVER I issue the command
#start netcat on storage server
gnetcat -l -vv -p 2011 >$FILEPATH/$SHORT_NAME.$today.tar &
The the following command is then sent to the $CLIENT.
#start... (2 Replies)
Discussion started by: thumper
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have a bunch of images (8k) in several directories. I want to tar these directories up and unzip them to development and production with the same path.
Example:
/about/images/sample_01
/about/images/sample_02
/about/images/sample_03
/about/images/lorem_ipsum... (4 Replies)
Discussion started by: andylee80
4 Replies
4. UNIX for Dummies Questions & Answers
Hi all, my directory structure is as follows /a/b/c.
I would like to tar the /a directory including the subdirectories b and c.
i intend to use the command tar -cvfz a.tgz a/ My question is where do i execute the command? do i execute it at the '/' prompt or at '/a' prompt ? My concern at... (1 Reply)
Discussion started by: new2ss
1 Replies
5. Solaris
I'm redoing my file system partitions on a Sunblade 100. The system came with a 999mb root and slice 6 with 35GB. I redid the file system by creating separate /opt1, /usr1, /var1, and a /data on different partitions (slice 3, 4, 5 and 7). I need a command to tar my opt, var, opt, usr that's under... (2 Replies)
Discussion started by: stocksj
2 Replies
6. Shell Programming and Scripting
hi guys..
Since am a bit new to shell scripting, can anyone help me with this problem please.. i've been struggling with it since 2 days. :(
I have a directory lets say myFolder and within it I have sub directories let say myFolder1.tar, myFolder2, myFolder3, etc. I need to write a shell... (12 Replies)
Discussion started by: kanexxx
12 Replies
7. UNIX for Advanced & Expert Users
Hi
Somebody must have done this before, but I can't seem to find any answer on my problem.
On HP-UX 11i v3 I have a relatively large tar ball (~120 GB), and I want to create the directory structure only from the archive.
There is no option to make a new archive with only the directory... (3 Replies)
Discussion started by: hpvm_adm
3 Replies
8. UNIX for Dummies Questions & Answers
I have figured out how to create a tar file that holds all the files in a particular directory. The plan is to move the tar to a new system via FTP so that we can test the new system with our files and libraries. What I can't figure out is how to unzip the tar file; I keep getting messages that... (8 Replies)
Discussion started by: KathyB148
8 Replies
9. Shell Programming and Scripting
i extract it through script, is there any way to script or automate to tar extract a tarfiles in multiple directories at once?
Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
for dir in `ls -d /tarfiles/*/ | sed 's/.$//'`
do
rm -f $dir/*.tar
mv -f... (1 Reply)
Discussion started by: kenshinhimura
1 Replies
10. Shell Programming and Scripting
Hi, I'm working on HP-UX B.11.23 64bit. I tried to tar couple of directories but failed to do so.
$ tar -cvf tar_file_name -C /dir1 /dir2
the -C is for directories as mentioned in the man pages. But still unable to create a tar file having directories and sub-directories.
Requesting help in... (1 Reply)
Discussion started by: sam_bd
1 Replies
LEARN ABOUT DEBIAN
gauche-config
GAUCHE-CONFIG(1) Gauche Commands GAUCHE-CONFIG(1)
NAME
gauche-config - retrieve configuration parameters of Gauche
SYNOPSIS
gauche-config option
DESCRIPTION
Gauche-config displays various parameters specified at the configuration time of the Gauche Scheme implementation. It can be used in Make-
file and other configuration scripts that uses Gauche.
OPTIONS
General parameters
-V Gauche version.
--reconfigure
Prints the command line used to configure the current Gauche installation. It is pretty handy to configure another Gauche source tree
with the same configuration; just type `gauche-config --reconfigure | sh'.
Parameters to compile an application using Gauche
-I, -L, -l
List of "-I" options (include directories), "-L" options (library directories), and "-l" options (libraries) for the compiler which
are required to compile applications that links Gauche library.
--cc Name of the compiler used to compile the current installation.
--ac Directory name that contains Gauche specific autoconf macro.
--arch The architecture signature, which is used in the pathname of architecture-dependent files, e.g. "i686-pc-linux-gnu".
Parameters to install files
--syslibdir, --sysarchdir, --sysincdir
Directories where the Gauche core system's Scheme files, architecture-dependent files, and header files are installed, respectively.
These directories belong to Gauche core; additional packages should not put files in them.
--sitelibdir, --sitearchdir, --siteincdir
Directories where the additional packages will put Scheme files, architecture-dependent files, and header files, respectively.
--pkglibdir, --pkgarchdir, --pkgincdir
Same as --sitelibdir etc, except that the base directory name is left as `${datadir}'. The result is suitable to be embedded in
Makefiles, for the base directory could be overridden at build time rather than configure time. The default template for Gauche
extension packages use these options.
--mandir, --infodir
Directories where gauche manpage and info docs are installed.
Parameters to compile Gauche extention
--object-suffix
Extension of the compiled objects (e.g. 'o').
--executable-suffix
Suffix of the executable (usually empty on Unix variants, and '.exe' on Windows. Note that '.' is a part of suffix in this option,
as opposed to other -suffix options.
--so-suffix
Extension of the dynamically loadable (dlopen-able) modules (e.g. 'so' or 'dll').
--so-cflags
Flags required to compile shared object.
--so-ldflags
Flags required to link a gauche extension.
--so-libs
Libraries to be linked with a gauche extension.
--dylib-suffix
Suffix for dynamically linked libraries. Some unix variants require special suffix (such as 'dylib'). On other platforms this is
the same as '--so-suffix'.
--dylib-ldflags
Flags required to link dynamically linked library file. Some unix variants require special flags. On other platforms this is the
same as '--so-ldflags'.
--rpath-flag
Compler flag(s) to embed RPATH in the binary.
--libgauche-so
The name of shared library of libgauche.
AUTHORS
Shiro Kawai (shiro @ acm . org)
SEE ALSO
gosh(1), gauche-package(1)
Gauche Scheme script engine:
http://practical-scheme.net/gauche/
Gauche 0.9.1 GAUCHE-CONFIG(1)