Sponsored Content
Top Forums Shell Programming and Scripting Help with script to transfer files from one server to another Post 302961982 by fretagi on Monday 7th of December 2015 06:51:42 AM
Old 12-07-2015
yes there was a typing mistake, but now its only sending one file,as opposed to more that 100 files in that directory:

Code:
#./transf
+ 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 )
+ 1> file_lst
+ 0< file_lst
+ scp /fs1/bscsrtx/BSCS_iX/WORK/LOG/13853006.log root@10.100.48.76:/ano2005/fs1_2015/LOG/
Password:
13853006.log                                                                                                                100% 3280     3.2KB/s   3.2KB/s   00:00

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Transfer files from Unix server to Windows using FTP

Dear Friend, I don't know much about unix.I am an VB6.0 Programmer.I need to move an text files as aaa.txt from unix server to windows "D: " driver using the FTP protocol.Is it possible to do this with help of unix shell script.If possible please give some sample codes. Please answer as early... (1 Reply)
Discussion started by: gjsaravanan
1 Replies

2. Linux

transfer files from the server 1 to server 2

I want to transfer files from the server 1 to server 2, but only information available FTP my server 2 How? Is there a script help me in the transfer of files through FTP :( (2 Replies)
Discussion started by: bomozah
2 Replies

3. Shell Programming and Scripting

Shell script to transfer the files from source to target server.

I need to write a shell script to transfer the files every hour from source - target server. The cron job should be running every hour and shouldn't copy already copied files to the remote server ? I was able to write intial script but not able to get the logic for (in the next run it should... (12 Replies)
Discussion started by: radhirk
12 Replies

4. Shell Programming and Scripting

Help needed to transfer list of files to FTP server, to different folders

Hello Unix Gurus, Help required from you. My requirement is something like this I want to create a concurrenct program in Oracle Applications using shell script to transfer files from Apps Server to destination FTP server. I have created custom program, where I will extract all the... (4 Replies)
Discussion started by: amazon
4 Replies

5. Shell Programming and Scripting

SFTP to transfer files from one server to another

Hello, i have to write a script to perform sftp from the remote server to another server. the files which are at the remote location are huge data log files which should be transfered to my server in a particular folder. could you please provide me the general code (simple )... (1 Reply)
Discussion started by: urfrnddpk
1 Replies

6. UNIX for Dummies Questions & Answers

Transfer file from server B to server C and running the script on server A

I have 3 servers A, B, C and server B is having some files in /u01/soa/ directory, these files i want to copy to server C, and i want to run the script from server A. Script(Server A) --> Files at Server B (Source server) --> Copy the files to Server C(Target Server). We dont have RSA key... (4 Replies)
Discussion started by: kiran_j
4 Replies

7. Shell Programming and Scripting

Do I require remote login access to a windows server to transfer files from a UNIX server

Hi All I need to transfer a file from a UNIX server to a windows server. I saw that it is possible to do this using scp command by looking at the forum listed below: ... (2 Replies)
Discussion started by: vx04
2 Replies

8. Shell Programming and Scripting

Transfer files from one server with bash script

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

Shell scripting to transfer files from one to another server through ftps

Hi Guyz ,, I'm an ERP functional guy , I really need to automate a script which required a shell script but have a little knowledge in shell scripting. I need my generated files to be zipped first in one directory lets say (xyz) and then it needs to transfer another ftp server in... (3 Replies)
Discussion started by: Shogundion
3 Replies

10. UNIX for Beginners Questions & Answers

Not able to transfer files using between server A and B

Hi All, I have generated public and private pair to avoid to enter password manually while sending files through sftp. But still I am facing issues and every-time prompt asking enter password. Below are steps I fallowed to make ssh connection between two servers. 1. Generated public and... (5 Replies)
Discussion started by: renukeswar
5 Replies
tuned(8)						   Adaptive system tuning daemon						  tuned(8)

NAME
tuned - dynamic adaptive system tuning daemon SYNOPSIS
tuned [options] DESCRIPTION
tuned is a dynamic adaptive system tuning daemon that tunes system settings dynamically depending on usage. OPTIONS
-c CONFFILE, --conffile=CONFFILE Specify the name and path of the configuration file. By default the /etc/tuned.conf is used. -d, --daemon This options starts tuned as a daemon as opposed to in the foreground without forking at startup. -D, --debug Sets the highest logging level. This could be very useful when having trouble with tuned. -h, --help Show this help. -l [LOG], --log[=LOG] Log to the file LOG. If no LOG file is specified /var/log/tuned/tuned.log is used. --no-dbus Do not attach to DBus. -P [PID], --pid[=PID] Write process ID to the PID file. If no PID file is specified /run/tuned/tuned.pid is used. -p PROFILE, --profile PROFILE Tunning profile to be activated. It will override other settings (e.g. from tuned-adm). This is intended for debugging pur- poses. -v, --version Show version information. FILES
/etc/tuned /usr/share/doc/tuned-*/README SEE ALSO
tuned.conf(5) tuned-adm(8) AUTHOR
Jan Kalua <jkaluza@redhat.com> Jan Velak <jvcelak@redhat.com> Jaroslav karvada <jskarvad@redhat.com> Phil Knirsch <pknirsch@redhat.com> REPORTING BUGS
Report bugs to <power-management@lists.fedoraproject.org>. Fedora Power Management SIG 28 Mar 2012 tuned(8)
All times are GMT -4. The time now is 05:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy