Re: [gentoo-user] crontab backup

2014-09-17 Thread Neil Bothwick
On Tue, 16 Sep 2014 19:30:36 -0600, Joseph wrote:

 I'm trying to backup crontab from various boxes to files, so I'm using
 (run once a month) 11 01 * * 5 crontab -l
  /home/joseph/business/backup/crontabs/syscon7_joseph_crontab
 
 but I can from bash: cannot overwrite existing file

Do you have noclobber in your shell options? If so, replace  with | to
overwrite files. Or use tee, which will happily overwrite files with no
consideration of their type, content or importance :(


-- 
Neil Bothwick

Growing old is mandatory; growing up is optional!!


signature.asc
Description: PGP signature


[gentoo-user] crontab backup

2014-09-16 Thread Joseph

I'm trying to backup crontab from various boxes to files, so I'm using (run 
once a month)
11 01 * * 5 crontab -l  
/home/joseph/business/backup/crontabs/syscon7_joseph_crontab

but I can from bash: cannot overwrite existing file

--
Joseph