01-02-2018
If I use parallel then there's a chance for difference in file order sequence between the source and destination path. since, its running parallely
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Everyone,
We are on a unix AIX 4.3 platform and our application is written as such that all configuration files must reside in a specific directory. Currently there are over 10,000 files in this directory (and growing at about 300 per month). My question is is there a physical limit to the... (2 Replies)
Discussion started by: hedrict
2 Replies
2. Shell Programming and Scripting
Hi,
I am transferring files from our local server to remote server using FTP command in a shell script.
I am using a the following code,
FTPFILE="ercchk*.txt"
mput $FTPFILE
can any one help me out in calucalating the number of files transfered.
help in this regard is highly... (9 Replies)
Discussion started by: azazalis
9 Replies
3. Shell Programming and Scripting
i just want to get the BackGround status and limit the number of jobs to run the at a time.
can i able get the back ground exit status ? that i code below.
can jobs -l limit the number of jobs to run ?
total is this script looks fine ?
cat run_job.ksh
#!/usr/bin/ksh... (0 Replies)
Discussion started by: GrepMe
0 Replies
4. UNIX for Dummies Questions & Answers
Hi
Hi! I'm currently using AIX 5.2 and would like to know where can i find to see that there's a restriction on the number of login times a user can have. Example, I want give a 2 login per user but some one to give 3 login and some one have to give unlit login time (without logging off the... (2 Replies)
Discussion started by: herath
2 Replies
5. Solaris
Is there a way that I can limit number of commands that one user can run during period of time. For example Max 10 commands per senconds.:) (3 Replies)
Discussion started by: winger0608
3 Replies
6. UNIX for Dummies Questions & Answers
i need to know how files can be transfered from one system to another securely in linux. (9 Replies)
Discussion started by: bibing
9 Replies
7. UNIX Desktop Questions & Answers
using: find . -type f -print|xargs -li "string", how do I limit the dated directories (2010-7-14, 2010-7-13,etc.) to just 2009 & 2010 years of directories to search. We go back to 2004 in our archives, way too many files. (3 Replies)
Discussion started by: MJThom713
3 Replies
8. UNIX for Dummies Questions & Answers
hi guys
how can i limit number of files in a disk or partition ?
or how can i make a limit to inode number for a disk or partition ?
ext3 or ext4 file system (1 Reply)
Discussion started by: mhs
1 Replies
9. Solaris
We have umask defined under /etc/.login as 022.
I have my user specific umask defined in /userhome/.login as 002.
I understand ftp will not execute anything at destination, it simply transfers files.
But it seem to be using 022 as umask for the files transferred. How does ftp knows what umask... (4 Replies)
Discussion started by: kchinnam
4 Replies
10. Shell Programming and Scripting
Hi,
i want to execute a shell script which transfers files from one server to another using ftp in unix. How can i check whether the ftp is successful or not.(i.e files are transferred to destination server). because if i am checking the return code of ftp, it always shows 0 (denoting ftp is... (5 Replies)
Discussion started by: Little
5 Replies
GFREP(1) GFREP(1)
NAME
gfrep - replicate Gfarm files
SYNOPSIS
gfrep [ -mnqvx ] [ -S source-domainname ] [ -D destination-domainname ] [ -h source-hostfile ] [ -H destination-hostfile ] [ -N num-of-
replicas ] [ -j num-of-threads ] path ...
DESCRIPTION
gfrep creates specified number of replicas of Gfarm files specified by the path to specified set of destination hosts. When set of source
hosts are specified, only files stored on the set of source hosts are replicated. A set of hosts can be specified by a domain name and/or
a host file. When both a domain name and a host file are specified, a set of hosts is determined by both conditions.
If the path parameter is a directory, files under the directory will be copied recursively.
OPTIONS
-S source-domainname
Specifies the domain name of source filesystem nodes from which replicas will be copied.
-D destination-domainname
Specifies the domain name of destination filesystem nodes to which replicas will be copied.
If neither this nor the -H option is specified, replicas may be copied to any available host.
-h source-hostfile
Specifies a file which describes hostnames of source filesystem nodes from which the replica will be made. The source-hostfile con-
sists of a filesystem node name on each line.
if ``-'' is specified, standard input is used to read the host list.
-H destination-hostfile
Specifies a file which describes hostnames of destination filesystem nodes on which the replica will be made. The destination-host-
file consists of a filesystem node name on each line.
if ``-'' is specified, standard input is used to read the host list.
-N num-of-replicas
Specifies the required number of file replicas, counting already existing ones. If there are a sufficient number of replicas in the
destination hosts, neither any copying nor any removal will be done.
If this option is not specified, -N 1 is assumed.
-j num-of-threads
Specifies the number of threads to create file replicas simultaneously. This option is only available when compiled by an OpenMP C
compiler. By default, it will be the smallest among the number of total files, the number of source hosts, and the number of desti-
nation hosts.
-m Lets gfrep command do a migrate/move, instead of doing replication.
-x Removes file replicas when a set of destination nodes has more file replicas than specified.
-n Displays files to be replicated, but does nothing.
-q Suppresses non-error messages.
-v Displays verbose output.
-? Displays a list of command options.
BUGS
A source host is not always selected within a set of source hosts.
Gfarm 09 November 2009 GFREP(1)