Sponsored Content
Top Forums Shell Programming and Scripting Recursive FTP -- here at last. Post 302089372 by ghostdog74 on Tuesday 19th of September 2006 01:21:29 AM
Old 09-19-2006
Quote:
Originally Posted by Perderabo
Recursive put is trivial anyway. Read our ftp scripting faq article.
i give you credit for what you have done. Good job.
On the other hand, there are ppl who might not want to "re-invent the wheel". So using tools already built in with such functions may be their choice of solving their problem..anyway, to each his own.
 

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
xlyap(6x)							XScreenSaver manual							 xlyap(6x)

NAME
xlyap - display an array of Lyapunov exponents graphically SYNOPSIS
xlyap [-BLps][-W width][-H height][-o filename][-a n ] [-b n ] [-w n ] [-h n ] [-i xstart] [-M n ] [-R p ] [-S n ] [-D n ] [-F string][-f string][-r n ] [-O n ] [-C n ] [-c n ] [-m n ] [-x xpos] [-y ypos] [-fps] DESCRIPTION
xlyap generates and graphically displays an array of Lyapunov exponents for a variety of iterated periodically forced non-linear maps of the unit interval. OPTIONS
-random A good choice for use with xscreensaver: picks random parameters from a built-in list. -C n Specifies the minimum color index to be used for negative exponents -D n Specifies the "dwell" or number of iterations over which to average in order to calculate the Lyapunov exponent. Default is 50. -H n Specifies the height of the window. Default is 256. -L Indicates use log(x) + log(y) rather than log(xy). -M r Specifies the real value to compare exponent values to for indexing into a color wheel. The default value is 1.0. -O n Specifies the minimum color index to be used for positive exponents -R p Specifies pseudo-random forcing with probability p of using parameter value 'a'. -S n Specifies the "settle" or number of iterations prior to the beginning of the calculation of the Lyapunov exponent. Default is 50. -a r Specifies the real value to use as the minimum parameter value of the horizontal axis. Default is 2.0 for the logistic map. -b n Specifies the real value to use as the minimum parameter value of the vertical axis. Default is 2.0 for the logistic map. -c n Selects one of six different color wheels to use. The default color wheel is a rainbow palette. -F 10101010 Specifies the "Function" forcing function to use. The example above would alternate between iterating the circle and logistic maps. An argument of "-F 2323" would alternate between left and right logistic maps. The default is to only use the single specified map (see the description of -m). -f abbabaab Specifies the forcing function to use. The default is to alternate between the "a" parameter and the "b" parameter. -h r Specifies the real value to be used as the range over which the vertical parameter values vary. The default is 1.0. -i r Specifies the real value of the initial condition to use. Default is 0.65. -m n Selects between available non-linear maps of the unit interval. A value of 0 specifies the logistic map. A value of 1, the circle map. A value of 2, the left-logistic. A value of 3, the right-logistic. A value of 4, the double-logistic. The default is 0, the logistic map. -o filename Specifies the output filename to be used. If the -o option is given, this file will automatically be written out at the completion of the drawing. If it is not specified, a default filename of lyap.out is used and only written if the 'f' or 'F' keys are pressed during a run. The format of the output file is PPM for color and PGM for monochrome. The parameters used to calculate the picture are included as comments at the beginning of the output file. -p Switches color indices for negative and positive exponents. Generally, causes negative exponents to be displayed in more detail while darkening and narrowing the color range for positive exponents. This can be toggled during runtime by pressing the 'p' key. -r n Specifies the maximum rgb value to be used. Default is 65000. -s n Specifies the length of the color wheel spin. -v Prints out the various values to be used and exits. -w r Specifies the real value to be used as the range over which the horizontal parameter values vary. The default is 1.0. NOTES
During display, pressing any mouse button allows you to select the area to be investigated with the mouse. The upper left hand corner of the desired area is the location of the cursor when the button is pressed. The lower right hand corner is specified by the cursor when the button is released. Use of the keys bBeEfFkKjJmnrRsSwWxXqQ indicates: (<) Halve dwell value. (>) Double dwell value. ([) Halve settle value. (]) Double settle value. (B or b) Toggle button display on/off (E or e) Recalculate the indices into the color wheel using a different method (F or f) Save current screen to ouput file (not yet implemented) (H or h or ?) Display brief help message (i) Decrement the interval between stripes for the striped color map. (I) Increment the interval between stripes for the striped color map. (K) Decrease value exponents are compared against by 0.05. (J) Increase value exponents are compared against by 0.05. (M) Decrease value exponents are compared against by 0.005. (N) Increase value exponents are compared against by 0.005. (m) Increment the map index, changing the map to be iterated. (P or p) Toggle positive/negative exponent display. (r) Redraw the window using previously calculated exponents. (R) Redraw the window using the newly set dwell and/or settle values. (S) Spin the color wheel (s) Halve the length of the spin and spin the color wheel (u) Go up to the window just prior to the most recent zoom. (U) Go all the way up to the original window. (V or v) Display values of various parameters currently in use (W or w) Use next color map. (X or x) Clear window (Q or q) quit AUTHOR
Ronald Joe Record The Santa Cruz Operation P.O. Box 1900 Santa Cruz, CA 95061 rr@sco.com ACKNOWLEDGEMENTS
The algorithm was taken from the September 1991 Scientific American article by A. K. Dewdney who gives credit to Mario Markus of the Max Planck Institute for its creation. Additional information and ideas were gleaned from the discussion on alt.fractals involving Stephen Hall, Ed Kubaitis, Dave Platt and Baback Moghaddam. Assistance with colormaps and spinning color wheels and X was gleaned from Hiram Claw- son. Rubber banding code was adapted from an existing Mandelbrot program written by Stacey Campbell. Viciously hacked for xscreensaver by Jamie Zawinski, 20-Nov-97. X Version 11 5.15 (28-Sep-2011) xlyap(6x)
All times are GMT -4. The time now is 11:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy