05-14-2017
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi ,
I am trying to use the find command with delete in a directory . Even though i use a wil character search the find command is checking the hidden files which inturn results in error .
Can i avoid look that into the hidden files ?? I am using HP unix .
find /cv1/ -name "ite*"... (3 Replies)
Discussion started by: arunkumar_mca
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have a filename Location.txt in a directory /abc.
Similar name file is present in its subdirectory /abc/xyz.
I want to find the file which is present only in /abc and not in /abc/xyz.
Please any1 of u can provide a quick suggestion.
Its very urgent.
Thanks,
Amol (2 Replies)
Discussion started by: Amol_Dicholkar
2 Replies
3. UNIX for Dummies Questions & Answers
How do I exclude directories with the find command on Solaris?
I want to skip the directories /proc and /shared.
find / -nouser -print
This shows me all files and directories that don't have an owner but I need to skip /shared and /proc.
I've been able to get it to work on Linux... (3 Replies)
Discussion started by: x96riley3
3 Replies
4. UNIX for Dummies Questions & Answers
Hi guys,
I want to copy folder and sub folders only. I don't want the files. If i use cp -r command it will copy entirely with files.
Could any one suggest me.
Thanks in advance (1 Reply)
Discussion started by: karthik82
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
Please help me, how to get all the direcotries, its sub directories and its sub directories recursively, need to exclude all the files in the process.
I wanted to disply using a unix command all the directories recursively excluding files.
I tried 'ls -FR' but that display files as... (3 Replies)
Discussion started by: pointers
3 Replies
6. AIX
Hi
I'm logged in to an AIX box now and we need to do an audit on this box.
cbssapr01:# pwd
/
Which command will show all the files and directories owned by root user with permissions as 777 ? (8 Replies)
Discussion started by: newtoaixos
8 Replies
7. Shell Programming and Scripting
my directory structure is like below:
basedir\
p.txt
q.htm
r.java
b\
abc.htm
xyz.java
c\
p.htm
q.java
rst.txt
my requirement is i want to copy all the files and directories... (0 Replies)
Discussion started by: ajayyadavmca
0 Replies
8. Shell Programming and Scripting
I've looked at a few similar threads, but I can't bridge from those examples to what I'm working on, so I'm hoping someone can help.
I want to extend the following statement
find $PathToCheck -type f \( -not -iwholename "$ScriptDir/*" \) -exec md5sum "{}" \;>$NewSigs
to exclude several... (9 Replies)
Discussion started by: nixie
9 Replies
9. Shell Programming and Scripting
Hi Forum,
I am using the below command to find files older than x days in a directory excluding subdirectories. From the previous forums I got to know that prune command helps us not to descend in subdirectories. Though I am using it here, not getting the desired result.
cd $dir... (8 Replies)
Discussion started by: jhilmil
8 Replies
10. UNIX for Advanced & Expert Users
Find all files in the current directory only excluding hidden directories and files.
For the below command, though it's not deleting hidden files.. it is traversing through the hidden directories and listing normal which should be avoided.
`find . \( ! -name ".*" -prune \) -mtime +${n_days}... (7 Replies)
Discussion started by: ksailesh1
7 Replies
LEARN ABOUT SUSE
xdeltadir
XDeltadir(1) General Commands Manual XDeltadir(1)
NAME
xdeltadir - Invoke XDeltadir
SYNOPSIS
xdeltadir subcommand [ operand... ]
DESCRIPTION
XDeltadir is a perl script that wraps around the XDelta program. XDeltadir provides the ability to generate deltas between files in the
two directories and later apply those deltas. It operates similar to the diff and patch commands, but works on binary files stored in two
different directories and does not produce a human readable output.
XDeltadir has two subcommands, delta and patch. Delta accepts two directories and produces a delta, while patch accepts the original direc-
tory and a delta and produces the other directory. As opposed to the the diff(1) format, which can usually be reversed, these deltas are
one way.
Subcommands
Each subcommand will be detailed seperately. In general, any input file may be compressed with gzip(1) and XDelta program called from
XDeltadir will automatically uncompress it into a temporary location before examining the file. This temporary location is either the value
of the environment variable, if set, or "/tmp". Unless turned off, XDelta always verifies the integrity of reconstructed files with MD5
checksums. By default, XDelta compresses constructed deltas.
Delta
The delta subcommand has the following synopsis:
xdeltadir delta from_dir to_dir patch_dir
Computes a deltas for the files from from_dir to to_dir and writes them to patch_dir
Patch
The patch subcommand has the following synopsis:
xdeltadir patch patch_dir from_dir to_dir
Applies patches from patch_dir to files from from_dir The from files must be identical to the ones used to create the deltas. Its MD5
checksum is used to verify this condition. The constructed files and directories will be written to to_dir
All the directories must exist before running the xdeltadir.
SEE ALSO
xdelta (1)
IDENTIFICATION
Author: Radim Gelner, <radim.gelner@suse.cz>
Manual Page Revision: 1.0; Release Date: Fri Jan 26 11:53:23 CET 2001
Copyright (C) 2001
XDeltadir(1)