This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes Need to FTP the files which are older than 10 days  to other server in unix Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Need to FTP the files which are older than 10 days  to other server in unix " Watch "Need to FTP the files which are older than 10 days  to other server in unix " New topic
Author

Need to FTP the files which are older than 10 days to other server in unix

Sant Manchala
Greenhorn

Joined: Apr 15, 2009
Posts: 6
HI ,
I am working on a shell script which need to find out files which are older than 10 days in a directory on unix server and ftp those to other server

please help me out on this

-thanks
santosh Manchala


santosh manchala
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11404
    
  81

What have you managed to write so far?


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Craig Jackson
Ranch Hand

Joined: Mar 19, 2002
Posts: 405
I would start out by using the man pages for the unix command "find" with the option -mtime.
 
 
subject: Need to FTP the files which are older than 10 days to other server in unix
 
Similar Threads
How to share files give ideas
Opening file from remote machine using authentication
FTP FILES TO A DIFFERENT SERVER
java applet which scp files to server
ftp files to a different server