10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello There,
Here is the use cases
Input folders
dropbox/project/abc/
dropbox/project/pqr/
dropbox/project/lmn/
dropbox/project/xyz/
Target Folders
/data/abc/
/data/pqr/
/data/lmn/
/data/xyz/ (2 Replies)
Discussion started by: TreasureCookies
2 Replies
2. Shell Programming and Scripting
Hi guys!
I hope this hasn't been asked too many times but,
Would someone be able to help me write or point me in the direction to some helpful tutorials in order to write a script to transfer a file directly to a server via SSH from a linux based computer.
The script should do as following:... (2 Replies)
Discussion started by: craigwilkinson
2 Replies
3. Solaris
Hi,
I have Solaris-10 (Update-7). This is having ZFS file-system and 10 sparse-root zones are there. I want to install Solaris-10 recommended patch cluster on it, but not sure, how to go ahead with procedure. I want to patch one side of the mirror and keep intact another side safe in case of... (6 Replies)
Discussion started by: solaris_1977
6 Replies
4. Shell Programming and Scripting
i have got many files like this in my folder temp(say)
imp_02042008.txt for date 02-04-2008
imp_03092009.txt for date 03-09-2009
imp_25112009.txt for date 25-11-2009
...................
........
in some folder.
and one of my shell code uses one of the above files based on date.... (9 Replies)
Discussion started by: Maruti
9 Replies
5. Shell Programming and Scripting
i have got many files like this in my folder temp(say)
imp_02042008.txt for date 02-04-2008
imp_03092009.txt for date 03-09-2009
imp_25112009.txt for date 25-11-2009
...................
........
in some folder.
and one of my shell code uses one of the above files based on date.... (0 Replies)
Discussion started by: Maruti
0 Replies
6. Solaris
Hi
I have a folder will all the file ftp in everyday. I have to go in every morning to check to see everynight have all the 2000+ file have been all FTP in.
so every morning i will check like this
# ls -l *_20080904*_20080904* |wc
if there is 2714 that mean is correct.
File name:... (13 Replies)
Discussion started by: summerpeh
13 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
With curl I can fetch a tar archive from a web server which contains a file ending with .scf which I am interested in. Unfortunately the file name may vary and the subdirectory inside the tar archive may change. I can manually browse the directory structure and extract the file and then... (3 Replies)
Discussion started by: tkrahn
3 Replies
8. Shell Programming and Scripting
Hello,
A file named c15a is registered on my disc all 10 minutes.
I must rename that file with the actually Date and with an automatic increase number on 5 digits, so as : c15a.20070528.00001 and the next file will be : c15a.20070528.00002.
The next day so tomorrow the five digits must be... (6 Replies)
Discussion started by: steiner
6 Replies
9. UNIX for Advanced & Expert Users
Hello,
I am a beginner with korn shell scripting. I have got a text file that gets produced every night and I need to transfer it to a windows shared area.
Is there any command line script (e.g FTP) that I could use to transfer the file automatically without manual intervention everyday?
Any... (4 Replies)
Discussion started by: tagem
4 Replies
10. Shell Programming and Scripting
Hi ,
can any one help me with a perl script for automating file transfer ?
At each step i need to check for the success or failure .
I am trying to connect to the target system for a specified number of times.if it doesnt connect even after 3 retries then the script should exit.
and i have to... (8 Replies)
Discussion started by: sveera
8 Replies
BACKUP_LISTHOSTS(8) AFS Command Reference BACKUP_LISTHOSTS(8)
NAME
backup_listhosts - Lists Tape Coordinators registered in the Backup Database
SYNOPSIS
backup listhosts [-localauth] [-cell <cell name>] [-help]
backup listh [-l] [-c <cell name>] [-h]
DESCRIPTION
The backup listhosts command displays the Backup Database record of the port offset numbers defined for Tape Coordinator machines. A Tape
Coordinator must have an entry in the list to be available for backup operations.
The existence of an entry does not necessarily indicate that the Tape Coordinator process (butc) is currently running at that port offset.
To check, issue the backup status command.
OPTIONS
-localauth
Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The backup command interpreter presents it to
the Backup Server, Volume Server and VL Server during mutual authentication. Do not combine this flag with the -cell argument. For more
details, see backup(8).
-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 backup(8).
-help
Prints the online help for this command. All other valid options are ignored.
OUTPUT
After a "Tape hosts:" header, the output reports two things about each Tape Coordinator currently defined in the Backup Database:
o The hostname of the machine housing the Tape Coordinator. The format of this name depends on the hostname format used when the backup
addhost command was issued.
o The Tape Coordinator's port offset number.
The Tape Coordinators appear in the order in which they were added to the Backup Database.
EXAMPLES
The following example shows the result of the command in the ABC Corporation cell:
% backup listhosts
Tape hosts:
Host backup1.abc.com, port offset 0
Host backup1.abc.com, port offset 1
Host backup3.abc.com, port offset 4
Host backup2.abc.com, port offset 3
PRIVILEGE REQUIRED
The issuer must be listed in the /etc/openafs/server/UserList file on every machine where the Backup Server is running, or must be logged
onto a server machine as the local superuser "root" if the -localauth flag is included.
SEE ALSO
backup(8), backup_addhost(8), backup_delhost(8), backup_status(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 BACKUP_LISTHOSTS(8)