Sponsored Content
Top Forums Shell Programming and Scripting Recursive FTP -- here at last. Post 47839 by weftnet.com on Thursday 19th of February 2004 05:06:10 PM
Old 02-19-2004
Question

when I get you script in and try to run it it get this:

$ ./HardFeed -rsd -l "ls -ls" server ftpuser /dir
password -
rdir = /dir
./HardFeed[111]: octal=binary: bad number
./HardFeed[111]: octal=binary: bad number


what do I need to do?
 

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
BOS_UNINSTALL(8)					       AFS Command Reference						  BOS_UNINSTALL(8)

NAME
bos_uninstall - Reverts to the former version of a process's binary file SYNOPSIS
bos uninstall -server <machine name> -file <files to uninstall>+ [-dir <destination dir>] [-cell <cell name>] [-noauth] [-localauth] [-help] bos u -s <machine name> -f <files to uninstall>+ [-d <destination dir>] [-c <cell name>] [-n] [-l] [-h] DESCRIPTION
The bos uninstall command replaces each binary file specified by the -file argument with its ".BAK" version on the server machine named by the -server argument, which is normally the binary distribution machine for its CPU/operating system type. It also changes the extension on the current ".OLD" version (if any) to ".BAK". Each binary file must reside in the local /usr/lib/openafs directory unless the -dir argument names an alternate directory. To start using the reverted binary immediately, issue the bos restart command. Otherwise, the BOS Server automatically restarts the process at the time defined in the /etc/openafs/BosConfig file; use the bos getrestart command to display the time and the bos setrestart time to set it. OPTIONS
-server <machine name> Indicates the binary distribution machine on which to revert to the ".BAK" version of binaries. Identify the machine by IP address or its host name (either fully-qualified or abbreviated unambiguously). For details, see bos(8). If the machine is not a binary distribution machine and is running an "upclientbin" process, then the files are overwritten the next time the "upclientbin" process fetches the corresponding file from the distribution machine (by default within five minutes). -file <files to uninstall>+ Names each binary file to replace with its ".BAK" version. -dir <destinatino dir> Provides the complete pathname of the local disk directory containing each file named by the -file argument. It is necessary only if the binaries are not in the /usr/lib/openafs directory. -cell <cell name> Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see bos(8). -noauth Assigns the unprivileged identity "anonymous" to the issuer. Do not combine this flag with the -localauth flag. For more details, see bos(8). -localauth Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The bos command interpreter presents the ticket to the BOS Server during mutual authentication. Do not combine this flag with the -cell or -noauth options. For more details, see bos(8). -help Prints the online help for this command. All other valid options are ignored. EXAMPLES
The following example command overwrites the /usr/lib/openafs/kaserver file on the machine "fs4.abc.com" with its ".BAK" version, and the current ".BAK" version by the ".OLD" version. % bos uninstall -server fs4.abc.com -file kaserver PRIVILEGE REQUIRED
The issuer must be listed in the /etc/openafs/server/UserList file on the machine named by the -server argument, or must be logged onto a server machine as the local superuser "root" if the -localauth flag is included. The bos uninstall command cannot be run against servers running in restricted mode. SEE ALSO
BosConfig(5), KeyFile(5), UserList(5), bos(8), bos_getrestart(8), bos_restart(8), bos_setrestart(8), upclient(8) COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. OpenAFS 2012-03-26 BOS_UNINSTALL(8)
All times are GMT -4. The time now is 05:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy