New server setup, best practice?

Alex Neuman van der Hans alex at vidadigital.com.pa
Thu Aug 18 21:00:08 UTC 2016


replace /path/to/files and /path/to/destination with the folder names.

Use the `date` command with the proper parameters plus creative concatenation.


   
Alex Neuman van der Hans Producer/Host, Vida Digital
+1 (440) 253-9789 <tel:+1 (440) 253-9789> | +507 6781-9505 <tel:+507 6781-9505> | Panama |alex at vidadigital.com.pa <mailto:alex at vidadigital.com.pa> | http://vidadigital.com.pa/ <http://vidadigital.com.pa/> |Skype: alexneuman <https://webapp.wisestamp.com/sig_iframe?origin=outlook&signature_id=5234486814965760&t=0.42697990642243466#> 
 <http://facebook.com/vidadigital>  <http://pa.linkedin.com/in/alexneuman>  <http://twitter.com/alexneuman>  <http://pinterest.com/vidadigital>  <http://youtube.com/user/reliantpty>  <http://instagram.com/vidadigital>  <http://vidadigital.com.pa.wordpress.com/>  <http://amazon.com/?tag=vidadigi-20>  <http://skype:alexneuman/?call&topic=Signature>  <http://whatsapp//send?text=Hello>



> On Aug 18, 2016, at 9:22 AM, Remco Barendse <mailscanner at barendse.to> wrote:
> 
> On Mon, 15 Aug 2016, Alex Neuman van der Hans wrote:
> 
>> How:find /path/to/files* -mtime +5 -exec mv {} \; /path/to/destination 
>> That would be one way.
> 
> Tried that, it dumps all files into one destination directory whereas the archive is split up per day on the server. If i ever get hammered with several gigabyte per day, might get messy :)
> 
> You don't retain the directory structure?  How to do it?
> 
> -- 
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/listinfo/mailscanner
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20160818/68a46590/attachment.html>


More information about the MailScanner mailing list