Sponsored Content
Top Forums Shell Programming and Scripting KSH fetching files from server A onto server B and putting on server C Post 302715255 by pamu on Sunday 14th of October 2012 08:30:51 AM
Old 10-14-2012
That's why i have given find and mtime

get the 30 day old files.
Code:
find /path/ -type f -mtime +30

Or check for date format
Code:
$ date +%Y%m%d
20121014

For avoid password promoting check for expect.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

FTP multiple files from remote server to local server

Hi, I am facing a weired problem in my FTP script. I want to transfer multiple files from remote server to local server everyday, using mget * in my script. I also, want to send an email for successful or failed FTP. My script works for file transfer, but it don't send any mail. There is... (2 Replies)
Discussion started by: berlin_germany
2 Replies

2. Shell Programming and Scripting

FTPing files from unix server to windows server

Hi, Below is the script which ftps the file from unix server and putting in a different directory(but on unix server) How can i ftp the files from unix server and to place in a secure location on windows server? what changes needs to be done to the below script? How can this be... (1 Reply)
Discussion started by: venkatesht
1 Replies

3. Shell Programming and Scripting

script for to take files from FTP server to UNIX server and Unzipped that files

script for to take files from FTP server to UNIX server and Unzipped that files (1 Reply)
Discussion started by: sunilamarnadh
1 Replies

4. Shell Programming and Scripting

Copy folder and files from unix server to linux server

We would be migrating unix solaries to Linux redhat. Basically source is unix and target is linux. i would like to copy entire file system unix/source/* to target linux/souce/* but target linux has only folder setup so what ever files copied need to be placed in the linux server with same... (8 Replies)
Discussion started by: balajikalai
8 Replies

5. Shell Programming and Scripting

Copy files from Linux server to Windows server

Hi All, I am generating report in a Linux server and once the report is generated the report(.txt file) needs to be automatically saved in a Windows servers. So i am looking for a script to transfer the file automatically from Linux server to Windows server? Please advise. Thanks... (3 Replies)
Discussion started by: arunmanas
3 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. Solaris

Script to get files from remote server to local server through sftp without prompting for password

Hi, I am trying to automate the process of fetching files from remote server to local server through sftp. I have the username and password for the remote solaris server. But I need to give password manually everytime i run the script. Can anyone help me in automating the script such that it... (3 Replies)
Discussion started by: ssk250
3 Replies

8. Solaris

FTP-ing files from Windows server to UNIX server

I need to transfer files from a Windows server to the Unix server and have to run some shell script on it to get the required output. Is it possible to transfer files from Windows server to unix server through any shell script? If so can you please help me with the details. Thanks in... (8 Replies)
Discussion started by: ssk250
8 Replies

9. Shell Programming and Scripting

Copying the files to Windows server from UNIX server

Hi Team, I had a requirement to write a shell script which automatically transfer the files from unix server to windows server. I can able to unix to unix using Scp command. I am not sure how to do unix to windows. I am very new on this concept. Could you please help me or guide in... (4 Replies)
Discussion started by: gvkumar25
4 Replies

10. 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
tftpd(8c)																 tftpd(8c)

Name
       tftpd - DARPA Trivial File Transfer Protocol (TFTP) server

Syntax
       /usr/etc/tftpd [ -r pathname ]

Description
       The  server, supports the DARPA Trivial File Transfer Protocol (TFTP).  The TFTP server is invoked when receives a packet on the port indi-
       cated in the TFTP service description.  The server is not normally started by default from

       The use of does not require an account or password on the remote system.  Because of the lack of  authentication  information,  will  allow
       only  publicly  readable  files	to  be accessed.  This extends the concept of public to include all users on all hosts that can be reached
       through the network.  This may not be appropriate on all systems however, and its implications should be considered  before  enabling  TFTP
       service.

       The server should have the user ID with the lowest possible privilege.

Options
       -r pathname    The pathname can be the choice of the user.  For example, would allow only files below to be copied using

Restrictions
       This  server  is  known	only  to  be self consistent, that is, it operates with the user TFTP program, Because of the unreliability of the
       transport protocol (UDP) and the scarcity of TFTP implementations, it is uncertain whether it really works.

       The search permissions of the directories leading to the files accessed are not checked.

See Also
       tftp(1c), services(5), inetd(8c)

																	 tftpd(8c)
All times are GMT -4. The time now is 08:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy