02-25-2015
removed
Last edited by billabongjimmy; 02-27-2015 at 05:36 PM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello everybody,
I'm trying to create a script that will cd into a directory and then copy the file with yesterday's date on it and then cd into another directory doing the same thing. Afterwards, i'm trying to zip up the two files, and email them out to people. Can anyone help?
thanks a... (1 Reply)
Discussion started by: jhofilena
1 Replies
2. Shell Programming and Scripting
Hello,
fjalkdsjfkldsajflkajdskl (3 Replies)
Discussion started by: pmeesara
3 Replies
3. Shell Programming and Scripting
Hello!!
I have directories from 2008, with files in them. I want to create a script that will find the directoried from 2008 (example directory:
drwxr-xr-x 2 isplan users 1024 Nov 21 2008 FILES_112108), delete the files within those directories and then delete the directories... (3 Replies)
Discussion started by: bigben1220
3 Replies
4. Shell Programming and Scripting
Hi, I am a unix newbie.I need to write a shell script to move my oracle READ WRITE datafiles from one serevr to another. I need to move it from /u01/oradata/W1KK/.. to /u01/oradata/W2KK,
/u02/oradata/W1KK/.. to /u02/oradata/W2KK.
That is, I actaully am moving my datafiles from one database to... (2 Replies)
Discussion started by: mathews
2 Replies
5. UNIX for Dummies Questions & Answers
I am very new to unix as well as shell scripting.
I have to write a script for the following requirement. In have to list all the files in directory and its sub directories along with file path and size of the file
Please help me in this regard and many thanks in advance. (3 Replies)
Discussion started by: nmakkena
3 Replies
6. Shell Programming and Scripting
Need a script to move the files from one dir to other dir and at the same time it has to read the log in the source dir. Please help me ASAP. (4 Replies)
Discussion started by: viswanathkishor
4 Replies
7. Shell Programming and Scripting
Dear Members,
I have a list of xml files like
abc.xml.table
prq.xml.table
...
..
.
in a txt file.
Now I have to search the file(s) in all directories and sub-directories and print the full path of file in a output txt file.
Please help me with the script or command to do so.
... (11 Replies)
Discussion started by: Yoodit
11 Replies
8. Shell Programming and Scripting
Hello all,
I'm very new to shell scripting and need quite urgently to do this thing for my student job. I have a directory called "vectors" with a bunch of files all named ".vector". also i have for each of those files a directory with the name . I now want to move each of those *.vector files... (2 Replies)
Discussion started by: sherresh
2 Replies
9. Shell Programming and Scripting
Deleting code (6 Replies)
Discussion started by: Adfire
6 Replies
10. AIX
I have searched this quite a long time but couldn't find the right method for me to use. I need to assign read write permission to the user for specific directories and it's sub directories and files. I do not want to use ACL. I do not want to assign user the same group of that directories too.... (0 Replies)
Discussion started by: blinkingdan
0 Replies
GFRM(1) GFRM(1)
NAME
gfrm - remove Gfarm files, directories, or file replicas
SYNOPSIS
gfrm [ -frRnqv ] [ -I file-section ] [ -h filesystem-node ] [ -D domain-name ] [ -H hostfile ] [ -N num-of-replicas ] [ -j num-of-threads ]
gfarm-URL ...
DESCRIPTION
gfrm removes each specified file. It does not remove directories unless the -r or -R option is specified. '.' or '..' cannot be removed.
When the -I option is specified, gfrm removes the specified file section. File section is an architecture name for executable files, or a
fragment index for a regular file.
With the -h, -D, or -H option, gfrm removes file replicas of each specified file or file section on the specified filesystem node(s). All
file replicas of a file cannot be removed, unless the -f option is specified.
OPTIONS
-f Even when all file replicas are specified by the -h, -D, or -H option, forcibly deletes all the file replica. In this case, the
specified file will be deleted.
-j num-of-threads
Specifies the number of threads to delete file replicas simultaneously. This option is only available when gfrm is compiled by an
OpenMP C compiler.
-n Prints file names to be deleted, but does not delete them.
-q Does not print any verbose message.
-r, -R Removes all entries under the directories specified by the command-line argument recursively.
-v Prints verbose messages.
-h filesystem-node
Specifies a filesystem node from which file replicas will be removed. With the -I option, a file replica of the specified file sec-
tion will be removed.
-D domain-name
Specifies a domain name of filesystem nodes on which file replicas will be removed. With the -I option, a file replica of the spec-
ified file section will be removed.
-H hostfile
Specifies a hostfile that lists filesystem nodes on which file replicas will be removed. With the -I option, a file replica of the
specified file section will be removed.
if ``-'' is specified, standard input is used to read the host list.
-I file-section
Specifies the file section to be removed. File section is an architecture name, such as sparc-sun-solaris8, for executable files,
and a fragment index for regular files.
-N num-of-replicas
Specifies the maximum number of file replicas. If files has more number of file replicas than specified, reduce the number of file
replicas.
-? Displays a list of command options.
Gfarm 13 November 2006 GFRM(1)