Sponsored Content
Top Forums Shell Programming and Scripting Recursive FTP -- here at last. Post 302264275 by Perderabo on Wednesday 3rd of December 2008 03:44:48 PM
Old 12-03-2008
Very few people transfer 10 GB files over the network, so I doubt that anyone else has encountered your problem. Most of us split us very large files are transfer the pieces. If that is not possible and you have only one or two 10 GB files, allow HardFeed to fail, and transfer those files manually using a client with the "reget" command.

Or you can set the timeout to a very large number: 86,400 is one full day.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Recursive FTP

I am trying to write a recursive FTP script and have come to a point where I need to test if the file is either a normal ascii file or a directory. My question is how do I test if the file is either ascii or directory. (1 Reply)
Discussion started by: aslamg
1 Replies

2. UNIX for Dummies Questions & Answers

recursive effect!!

I run the following command in some of my folders... and ended up with a huge mess!! find . -type f -exec perl -e 's/blabla/zzzxxxx/gi' -p -i.bak {} \; I had to kill the process and later when I checked with one of my folders.. ls vaditerm.dt.bak vaditerm.dt.bak.bak... (2 Replies)
Discussion started by: sskb
2 Replies

3. Shell Programming and Scripting

perl + Net::FTP::Recursive

Problem: It will not advance to the next user in the list. It always dies right after it sends the 2/2 files from the first users dir. $USERLIST="/export/home/mxdooley/perl_ftp/userlist"; $USER_DIR="/export/home/mxdooley/perl_ftp/homes";... (2 Replies)
Discussion started by: Optimus_P
2 Replies

4. Shell Programming and Scripting

recursive rcp

I wrote a shell script (AIX) to extract the file "/rep1/toto" from all the hosts referred in a list and send them to one local directory named ~/$host-$file with the hostname as prefix rcp -p user@host:/rep1/$file ~/$host-$file where file = toto ==> it works ! I would do the same thing... (6 Replies)
Discussion started by: Nicol
6 Replies

5. UNIX for Advanced & Expert Users

recursive sorting

In the ls command, -t option and -R option dont work simultaneously. ls -t ---> lists the files with sorting based on file date ls -R ---> lists the files recursively. How to make utilize both in the same command.? I want to sort the recursive files listing.. (1 Reply)
Discussion started by: fermisoft
1 Replies

6. Cybersecurity

Recursive SFTP

Hello, I need to transfer files from Serve1 to Server2. Previously I was using scp command. Now I have to use sftp (due to audit issues). The problem with sftp is (atleast to my level of knowledge) we cannot transfer dirs (and files within that dir). Is there a way to solve this? Looks like... (1 Reply)
Discussion started by: MohanTJ
1 Replies

7. UNIX for Dummies Questions & Answers

recursive wc on a directory?

Hi all, I need to count the number of lines in all the files under a directory (several levels deep). I am feeling extremely dumb, but I don't know how to do that. Needless to say, I am not a shell script wiz... Any advice? thanks in advance! (13 Replies)
Discussion started by: bimba17
13 Replies

8. UNIX for Dummies Questions & Answers

Recursive Permissions???

Is there anyway that I can change permissions on a directory and all its sub-directories and files using one single "chmod" command?? (5 Replies)
Discussion started by: the_red_dove
5 Replies

9. UNIX for Dummies Questions & Answers

recursive search and ftp

Could someone help me in recursive search and ftp'ing the files to remote server? The host machine will have /dir1/dira/list_of_files1 /dir1/dirb/list_of_files2 /dir1/dirc/list_of_files3 . . . so., I need to search from dir1 recursively (only one level down) and find all the files that... (1 Reply)
Discussion started by: brahmi
1 Replies

10. OS X (Apple)

Search recursive

before posting, I have tried to find my answer elsewhere. no luck. I need to find a file buried in a folder somewhere. Master folder has 10 sub folders. each sub folder has folders too. I found this but it does nothing I am on Mac and use Applescript. do shell script "find... (2 Replies)
Discussion started by: sbrady
2 Replies
tunefs(8)						      System Manager's Manual							 tunefs(8)

Name
       tunefs - tune up an existing file system

Syntax
       /etc/tunefs [ options ]

Description
       The command is designed to change the dynamic parameters of a file system which affect the layout policies.  The parameters which are to be
       changed are indicated by the options listed in the following section.

Options
       -a maxcontig
		 This specifies the maximum number of contiguous blocks that will be laid out before forcing a rotational delay  (see  -d  below).
		 The  default  value is one, since most device drivers require an interrupt per disk transfer.	Device drivers that can chain sev-
		 eral buffers together in a single transfer should set this to the maximum chain length.

       -d rotdelay
		 This specifies the expected time (in milliseconds) to service a transfer completion interrupt and initiate a new transfer on  the
		 same disk.  It is used to decide how much rotational spacing to place between successive blocks in a file.

       -e maxbpg This  indicates  the  maximum	number of blocks any single file can allocate out of a cylinder group before it is forced to begin
		 allocating blocks from another cylinder group.  Typically this value is set to about one quarter of the total blocks in a  cylin-
		 der  group.   The  intent  is	to prevent any single file from using up all the blocks in a single cylinder group, thus degrading
		 access times for all files subsequently allocated in that cylinder group.  The effect of this limit is to cause big files  to	do
		 long  seeks  more  frequently	than if they were allowed to allocate all the blocks in a cylinder group before seeking elsewhere.
		 For file systems with exclusively large files, this parameter should be set higher.

       -m minfree
		 This value specifies the percentage of space held back from normal users; the minimum free space threshold.   The  default  value
		 used  is  10%.   This	value  can be set to zero, however up to a factor of three in throughput will be lost over the performance
		 obtained at a 10% threshold.  Note that if the value is raised above the current usage level, users will be  unable  to  allocate
		 files until enough files have been deleted to get under the higher threshold.

       -c	 Clean	byte  timeout  factor.	The metrics used to determine if a clean byte associated with a file system should be invalidated,
		 decrement a timeout factor when crossed.  When the timeout factor reaches zero, the clean byte is invalidated and will  automati-
		 cally	check  the  file  system.  The timeout factor can be increased to a value between 0 and 255. A value of zero will cause to
		 check the file system on every reboot.

Restrictions
       This program should work on mounted and active file systems.  Because the super-block is not kept in the buffer	cache,	the  program  will
       only take effect if it is run on dismounted file systems.  If run on the root file system, the system must be rebooted.

See Also
       fs(5), fsck(8), mkfs(8), newfs(8)
       ``A Fast File System for UNIX,'' ULTRIX Supplementary Documents, Volume 3: System Manager

																	 tunefs(8)
All times are GMT -4. The time now is 06:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy