05-08-2012
and what you want to achieve at the end? between those two boxes?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have written generic script to transfer files from one machine to other machine(By passing the command line arguments like server name, user name ,location of the files, file names etc) but
when i am using sftp, what are the things I have to specify in the code
Is it necessary to specify... (0 Replies)
Discussion started by: gsri
0 Replies
2. Shell Programming and Scripting
I need to write a shell script to transfer files from Unix server to windows machine. This script will be scheduled on scheduler to run at specified intervals
#!/bin/ksh
ftp -n alaska <<End-Of-Session
user sss01 sample
cd /home/sss01
lcd D:/sample
mget *.txt
bye
when I executed the... (15 Replies)
Discussion started by: knag
15 Replies
3. Shell Programming and Scripting
Hi everybody,
I just want to transfer files with FTP (mget and mput). The problem is that I dont want to overwrite any existing files and don't want to transfer them again (e.g. using the rename-function). So I only want to transfer new files with mget and mput.
My first idea was to create... (3 Replies)
Discussion started by: inoxx
3 Replies
4. Shell Programming and Scripting
Hi,
I am new to scripting, I need to write a script to transfer .TXT files from Server A (ftp) to Server B. Once the files in server B i need to transfer it to server C (sftp). (not transfer of files directly from server A to Server C )
Thanks!
Regards
Sendhil
---------- Post updated at... (3 Replies)
Discussion started by: Sendhil.Kumaran
3 Replies
5. Shell Programming and Scripting
Hi guys ,
how are you doing?
I am tryng to make a script using cp that i would like to do this:
echo "Enter the name files to tranfer"
then user has to enter via keyboard this kind of output
file1 file 2 file 3 file x
(i mean the number of the files could vary and their name too)... (1 Reply)
Discussion started by: REX:)
1 Replies
6. Shell Programming and Scripting
Hi All
Please can you help, I´ve wrote the following script on a solaris 10 server to transfer files to a windows machine.
#!/usr/bin/sh
cd /moneta_polled01/download
HOST=10.100.4.72
USER=user1
PASSWD=V7stop
/usr/bin/ftp -v $HOST <<EOF
user $USER $PASSWD
cd tmp
binary
put... (7 Replies)
Discussion started by: fretagi
7 Replies
7. Shell Programming and Scripting
Hi
I have the following script:
#!/bin/sh
set -x
touch -mt 201210040000 /tmp/ref1
touch -mt 201210042359 /tmp/ref2
find /fs1/bscsrtx/BSCS_ix/WORK/LOG -type f \( -newer /tmp/ref1 -a ! -newer /tmp/ref2 \) > file_lst
scp $(< file_lst) root@10.100.48.76:/ano2005/fs1_2015/LOG/
but somehow its... (7 Replies)
Discussion started by: fretagi
7 Replies
8. Shell Programming and Scripting
Hello to all,
I want to copy from one server to another files of last 24 hours with size between 500MB and 2GB. The code below searches last files in 24 hours.
find . -mtime -1
In order to copy faster I'd like to compress the files before copying them.
How to automate the process of... (8 Replies)
Discussion started by: Ophiuchus
8 Replies
9. Shell Programming and Scripting
Hi.
I want to schedule a job at some directory will several files in it.
But there maybe a situation whereby some of the files at the point of the schedule are still transferring during that time.
So I want to skip those files from being processed.
Two method that come to my mind:
1.... (5 Replies)
Discussion started by: aimy
5 Replies
10. Shell Programming and Scripting
Hi
Please can you tell me what could be wrong with the following scriptto transfer files from solaris 10 to windows machine:
#!/bin/sh
HOST=<IP>
USER=administrator
PASSWD=xyz123zyx
/usr/bin/ftp -inv <<EOF
connect $HOST
user $USER $PASSWD
cd Documents
binary
mput *.sh
bye
EOF (23 Replies)
Discussion started by: fretagi
23 Replies
LEARN ABOUT CENTOS
tpm_changeownerauth
tpm_changeownerauth(8) System Manager's Manual tpm_changeownerauth(8)
TPM Management - tpm_changeownerauth
NAME
tpm_changeownerauth - change the authorization data associated with the owner or SRK
SYNOPSIS
tpm_changeownerauth [OPTION]
DESCRIPTION
tpm_changeownerauth allows for changing the authorization data for the TPM owner or the TPM's Storage Root Key (via the TPM_ChangeAuthOwner
API). This operation prompts for current password, followed by the new password and a confirmation of the new password. The --owner option
changes the TPM owner password and --srk option changes the TPM's SRK password. The --well-known option is used when SRK or owner passwords
need to be changed and current owner password is a secret of zeros, --set-well-known option changes current password to a secret of zeros,
both options do not work by themselves, they must be used with --owner and --srk options to indicate which of these passwords will be
changed.
-h, --help
Display command usage info.
-v, --version
Display command version info.
-l, --log [none|error|info|debug]
Set logging level.
-u, --unicode
Use TSS UNICODE encoding for passwords to comply with applications using TSS popup boxes
-o, --owner
Change the authorization data for the TPM owner.
-s, --srk
Change the authorization data for the TPM's Storage Root Key.
-g, --original_password_unicode
Use TSS UNICODE encoding for original password to comply with applications using TSS popup boxes
-n, --new_password_unicode
Use TSS UNICODE encoding for new password to comply with applications using TSS popup boxes
-z, --well-known
Change password to a new one when current owner password is a secret of all zeros (20 bytes of zeros). It must be specified which
password (owner, SRK or both) to change
-r, --set-well-known
Change password to a secret of all zeros (20 bytes of zeros). It must be specified which password (owner, SRK or both) to change
SEE ALSO
tpm_version(1), tpm_takeownership(8), tcsd(8)
REPORTING BUGS
Report bugs to <trousers-users@lists.sourceforge.net>
TPM Management 2005-05-06 tpm_changeownerauth(8)