If I understand correctly what you want, you need
to list everything in /outfiles except for anything in /outfiles/backup.
(I use GNU find so I don't know if this is at all portable).
I am trying to get a list of top level directories below the search path but I don't want to descend subdirectories. The find command listed below returns me the list I want but it also returns subdirectories. I can't seem to get the -prune option to work the way I want. How would I modify the... (5 Replies)
Hi,
I'm using the following command to get a list of files on the system.
find /releases -type f -exec ls -l > /home/sebarry/list.txt '{}' \;
however, its searching a directory I don't want it to search so I know I have to use prune but I don't seem to be able to get prune and exec to work... (1 Reply)
Hi,
I'm using the following command to get a list of files on the system.
find /releases -type f -exec ls -l > /home/sebarry/list.txt '{}' \;
however, its searching a directory I don't want it to search so I know I have to use prune but I don't seem to be able to get prune and exec to work... (2 Replies)
I have a directory named https-abcd
Under that I have some directories, files and links.
One of those directories is with name logs and the logs directory has lot of files in it.
I need to tar the whole https-abcd directory excluding the logs directory only, I should get all the links, files and... (2 Replies)
I've run into a brick wall using the -prune command to avoid walking sub-directories. Does any one have any suggestions on how I avoid walking the sub-directories when finding files in the following example?
I want to find all files older than 30 days in the dir1 directory and only the dir1... (7 Replies)
Can anyone interpret and tell me the way the below command works?
find * -name "*${msgType}" -mtime +${archiveDays} -prune -type f -print 2>/dev/null | xargs rm -f 2> /dev/null
Please tell me the usage of prune and xargs in the above command?
Looking forward your reply.
Thanks in... (1 Reply)
Hi , Kindly help me out .:)
i want to find only the file t4 in directory t3. i am in dir t . the tree is as follows.
if i give,
find .
o/p is
.
./t4
./t1
./t1/t2
./t1/t2/t3
./t1/t2/t3/t4
./t1/t2/t4
./t1/t4
directories are like t/t1/t2/t3 and each directory has file t4.
my... (7 Replies)
Hi
I have a directory say mydir and inside it there are many files and subdirectories and also a directory called lost+found owned by root user
I want to print all files directories and subdirectorres from my directory using find command except lost+found
If i do
find . \( -name... (3 Replies)
Hi,
I am trying to find some files in a directory and then remove/list them if they are 30 days old. I also have 2 directories in that directory which I need to skip. Can someone please tell me what is the correct syntax?
find /developer/. -name "lost+found" "projects" -prune -o -type f... (2 Replies)
Discussion started by: tkhan9
2 Replies
LEARN ABOUT DEBIAN
idevicebackup2
idevicebackup2(1) General Commands Manual idevicebackup2(1)NAME
idevicebackup2 - Create or restore backup for iDevices running iOS4+.
SYNOPSIS
idevicebackup2 [OPTIONS] CMD [CMDOPTIONS] DIRECTORY
DESCRIPTION
Create or restore backup from the current or specified directory.
OPTIONS -u, --uuid UUID
target specific device by its 40-digit device UUID.
-d, --debug
enable communication debugging.
-h, --help
prints usage information.
COMMANDS
backup create backup for the device.
restore
restore last backup to the device.
--system
restore system files, too.
--reboot
reboot the system when done.
--copy
create a copy of backup folder before restoring.
--settings
restore device settings from the backup.
info show details about last completed backup of device.
list list files of last completed backup in CSV format.
unback unpack a completed backup in DIRECTORY/_unback_/.
AUTHORS
Martin Szulecki
Nikias Bassen
SEE ALSO idevicebackup(1)idevicebackup2(1)