1 |
On Tue, 16 Sep 2014 19:30:36 -0600, Joseph wrote: |
2 |
|
3 |
> I'm trying to backup crontab from various boxes to files, so I'm using |
4 |
> (run once a month) 11 01 * * 5 crontab -l |
5 |
> > /home/joseph/business/backup/crontabs/syscon7_joseph_crontab |
6 |
> |
7 |
> but I can from bash: cannot overwrite existing file |
8 |
|
9 |
Do you have noclobber in your shell options? If so, replace > with >| to |
10 |
overwrite files. Or use tee, which will happily overwrite files with no |
11 |
consideration of their type, content or importance :( |
12 |
|
13 |
|
14 |
-- |
15 |
Neil Bothwick |
16 |
|
17 |
Growing old is mandatory; growing up is optional!! |