Hi Jitendra,

Thanks. But can we copy and compressed also in one command ?


--- In [email protected], "Jitendra | navin.com"
<jitendr...@...> wrote:
>
> Hi Ramesh,
> 
>  
> 
>  
> 
> find  .  -mtime +4 | scp * IP_OF_REMOTE_SERVER:/tmp/
> 
>  
> 
> This will copy the files which are more than 4 days older in the current
> folder to the remote server 
> 
>  
> 
> Regards,
> 
> Jitendra
> 
>  
> 
>   _____  
> 
> From: [email protected]
[mailto:[email protected]] On
> Behalf Of ramesh_net10
> Sent: Wednesday, February 25, 2009 12:07 PM
> To: [email protected]
> Subject: [Linux_Mantra] move date
> 
>  
> 
> Dear Friends,
> 
> My /var partion is 100 % full and there is no or very little space in
> other partion also. So I want to move old(older than 6 months)
> mails(around 70-80 GiB) in another machine which is in network.How can
> I do this? I executed 'find <mail path> -type f -iname "*."-ctime +180 '
> to get old mails. I want to move all these mails in another
> machine(suppose in 192.168.1.20 at /var/data) in compressed form in
> one shot.
> 
> 
> 
> 
> 
> [Non-text portions of this message have been removed]
>


Reply via email to