![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Find files not accessed on a remote server and delete - Help! | bond_bhai | Shell Programming and Scripting | 1 | 07-17-2007 06:59 AM |
| How to list today's files | berlin_germany | Shell Programming and Scripting | 4 | 11-29-2006 07:50 AM |
| find files older than 30mins,count and send mail | kayarsenal | Shell Programming and Scripting | 4 | 09-27-2006 03:11 PM |
| awk to find the status and send an email | isingh786 | UNIX for Dummies Questions & Answers | 6 | 12-21-2005 10:12 PM |
| script for listing files of today's time stamp | kid123 | Shell Programming and Scripting | 2 | 04-06-2004 09:44 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
how to find today's files & send to another server?
Hi All,
My script has to find todays modified( less than 24 hrs) files & send it another server using SCP. what I wrote is find . -type f -mtime -1 | xargs ls -ltr ## to find today's files, but its giving my sh_history file also, I don’t require this file at all. scp userid@serverBhostname:/put/here ## to send files to another server. I found these above two commands ( find & scp) in the net. I don’t know how to customize to solve my problem. Please let me know how to solve this. Your help will be greatly appreciated. Thanks in Advance Zinu |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|