I have several directories with multiple files of all kinds in them. For example
directory ###### contains:
How do I remove recursively through all directories particular files (*r and *t) with their headers without hurting the rest of the files?
Thanks
What is the best way to completely remove dir with it's content ???
rmdir deletes only EMPTY dirs as i know.
The man page of remove function says "remove() deletes a name from the file system." Can it remove any dir recursively ??? :rolleyes: (7 Replies)
Hi,
I want to remove a directory recursively except the inside directories calles .SYNC (designsync dirs) I am looking for something like:
\rm -rf < find . * | grep -v .SYNC
The find works ok but I do not know how to redirect it.
Please help.
Regards,
Ziv (1 Reply)
Hi all
I have a bash script, that loops through a folders files and all subfolders for .shtml files.
It looks for a string and replaces it, creating a backup of the original file.
This all works great, but I'd like, when the backup is done, that the files are then also created in their... (4 Replies)
i have a txt file of image names that have to be deleted in pwd how can i use the txt file to delete the files in pwd and is it possible?--i might be able to import the txt files into a spreadsheet ahd same it as a csv file. i want it to be done recursive lly --what i mean is teh sysem goes thru... (4 Replies)
hi,
I have installed ACL(access control list) in my ubuntu box in order to know which all are the users having permissions to read and write the files;
If u run the command like;
$getfacl /root/
It will give following output:
# file: root/
# owner: root
# group: root
user::rwx... (2 Replies)
hi;
i need a script which will go to all directories and subdirectories and print the filenames as follow;
here i m printing only files listing in current directory
reason i m doing this is coz i want to perform some operations according to filename achieved so cant use find command;... (4 Replies)
Can I please have some ideas on how to do a recursive grep with certain types of files? The file types I want to use are *.c and *.java.
I know this normally works with all files.
grep -riI 'scanner' /home/bob/ 2>/dev/null
Just not sure how to get it to work *.c and *.java files. (5 Replies)
Dear All,
I will appreciate any help received. Our system is running on hpux v1
My problem is as follows:
We have many customer folders with name fd000100, fd000101 and so on
e.g.
(Testrun)(testsqa):/>ll /TESTrun/fd000100
total 48
drwxrwx--- 2 fq000100 test 96 Jun 27 2004... (17 Replies)
Discussion started by: mhbd
17 Replies
LEARN ABOUT HPUX
fieldcomb
FIELDCOMB(1) General Commands Manual FIELDCOMB(1)NAME
fieldcomb - combine two or more field frames for video animation
SYNOPSIS
fieldcomb [ -e|-o ][ -r ] [ -f combined.hdr ] field0.hdr field1.hdr ..
DESCRIPTION
Fieldcomb combines two or more field frames into half as many final video frames for field-based animations. Normally, the even scanlines
in the output are given over to the first, third, fifth, etc. pictures given on the input, and the odd scanlines are given over to the sec-
ond, fourth, sixth, etc. pictures on the input. This behavior corresponds to the -e option, which is set by default. To reverse this
ordering, the -o option must be specified.
Normally, fieldcomb will name output frames by dividing the numbers on the input field file names by 2, inserting a 'C' right before the
number, adding leading zeroes to make it always four digits. For example, the command:
fieldcomb anim12.hdr anim13.hdr anim14.hdr anim15.hdr
will produce two output pictures:
animC0006.hdr & animC0007.hdr
If an odd number of input files is given on the command line, the last file is held over and used as the first file in the next invocation
of fieldcomb in the same directory. In this way, the program works well with the "TRANSFER" facility of ranimate(1), which does not guar-
antee an even number of frames will be passed every time.
If only two input files are given, the -f option may be used to specify a different output name of the user's choosing.
If the -r option is specified, then the input files will be removed once they have been combined.
AUTHOR
Greg Ward
ACKNOWLEDGEMENT
Work on this program was sponsored by Iebele Abel.
SEE ALSO getinfo(1), pcomb(1), pfilt(1), phisto(1), ran2tiff(1), ranimate(1), rpict(1)RADIANCE 9/6/2005 FIELDCOMB(1)