I am digging for certain types of files in the current directory and all its sub-directories and archiving them with the following code:
#! /usr/bin/ksh
Archive=`date +%Y_%m_%d_%T`
find . -type f \( -name \*\.ksh -o -name \*\.sql -o -name \*\.ini \) -print|xargs tar -cf... (4 Replies)
Hi All,
I am not one of the super users / root for AIX 5.3 system.
There is a filesystem
Say
/DIR1 and its has several subdirs in it say SUBDIR1, SUBDIR2, SUBDIR3.
Can I create a tar file for all files under DIR1 and SUBDIR1, SUBDIR3. Excluding SIBDIR2?
Also how can I preserve... (2 Replies)
hi,
How do i create a tar file of a directory excluding the links in that particular directory and its sub-directories.
The below command doesnt work for me.
tar -cvf abc.tar /dir1 --exclude"^l" (1 Reply)
The title is not as easy as it sounds.... I am trying to exclude and file while ssh and untaring the file on the fly.
The command I am using is... The command typically works but recently I've add the X option along with the exclude file. Essentially, the exclude file is being ignored when run... (2 Replies)
I have been experimenting with rsync as a scriptable backup option, reading various example and tips pages, including Time Machine for every Unix out there - IMHO
That page seems to describe the exact behavior I want: The ability to make a "full backup" snapshot regularly, but with rsync... (0 Replies)
Ksh newbie here, so please bear with me.
I'm currently writing a script that searches through a directory and displays files with multiple hard links. The way I have it set up, is that it displays the i-node number and then each of the link names. In addition to this, I need to know if there... (7 Replies)
Hello i am using HP-UX rapdb2 B.11.23 U ia64 1068321383 unlimited-user license.
I am tryiyng to exclude for tar all files that start with TOT* but i doues not work
I am using:
tar -cvf /ODS/prepaid/CDR_FLOW/WORK/backup.tar --exclude='TOT*'
and i get the error:
tar: cannot stat... (3 Replies)
Hi
I'm logged in as root in an aix box
Which command will list all the soft links and hard links present in the server ? (2 Replies)
Discussion started by: newtoaixos
2 Replies
LEARN ABOUT CENTOS
rebuild-jar-repository
REBUILD-JAR-REPOSI(1) Java Packages Tools REBUILD-JAR-REPOSI(1)NAME
rebuild-jar-repository - rebuild a JAR repository
SYNOPSIS
rebuild-jar-repository [OPTION]... DIRECTORY
DESCRIPTION
Rebuild a jar repository (built by build-jar-repository) based on the current JVM settings
OPTIONS
If no option is specified the default action will be to rebuild with symbolic links
-c, --copy
Copy files.
-h, --hard
Create hard links.
-s, --soft, --symbolic Create symbolic links (default).
EXAMPLES
rebuild-jar-repository . - This will update all links created by build-jar-repository in the current working directory. Updated links will
be symbolic links.
rebuild-jar-repository -h /tmp - This will update all links created by build-jar-repository in the /tmp directory. Updated links will be
hard links.
AUTHOR
Written by the JPackage Project (http://www.jpackage.org/).
REPORTING BUGS
Bugs should be reported through Red Hat Bugzilla at http://bugzilla.redhat.com/.
SEE ALSO build-jar-repository(1), build-classpath(1),
JAVAPACKAGES 06/10/2014 REBUILD-JAR-REPOSI(1)