[9fans] vac flattens trees?

2009-03-09 Thread Anthony Sorace
given a list of files like /fish /dog /snake/asp /snake/python, the results of a vac (as interpreted by vacfs) seem to be /fish /dog /asp /python. is this intentional? it seems unexpected, and makes doing selective backups using vac a bit awkward. this is vac on p9p and vacfs on plan9, if that

Re: [9fans] vac flattens trees?

2009-03-09 Thread roger peppe
2009/3/9 Anthony Sorace ano...@gmail.com: given a list of files like /fish /dog /snake/asp /snake/python, the results of a vac (as interpreted by vacfs) seem to be /fish /dog /asp /python. is this intentional? it seems unexpected, and makes doing selective backups using vac a bit awkward. i

Re: [9fans] vac flattens trees?

2009-03-09 Thread Russ Cox
On Mon, Mar 9, 2009 at 6:35 AM, Anthony Sorace ano...@gmail.com wrote: given a list of files like /fish /dog /snake/asp /snake/python, the results of a vac (as interpreted by vacfs) seem to be /fish /dog /asp /python. is this intentional? it seems unexpected, and makes doing selective backups

Re: [9fans] vac flattens trees?

2009-03-09 Thread Russ Cox
On Mon, Mar 9, 2009 at 8:43 AM, roger peppe rogpe...@gmail.com wrote: 2009/3/9 Russ Cox r...@swtch.com: if you want selective backups you can use the -x flag. presumably you mean the -e flag? i meant the -x flag (he said he was on p9p). http://swtch.com/plan9port/man/man1/vac.html russ

Re: [9fans] vac flattens trees?

2009-03-09 Thread roger peppe
2009/3/9 Russ Cox r...@swtch.com: On Mon, Mar 9, 2009 at 8:43 AM, roger peppe rogpe...@gmail.com wrote: 2009/3/9 Russ Cox r...@swtch.com: if you want selective backups you can use the -x flag. presumably you mean the -e flag? i meant the -x flag (he said he was on p9p).

Re: [9fans] vac flattens trees?

2009-03-09 Thread Latchesar Ionkov
You can vac the directories separately and then use vac -m to create an archive that looks any way you want. On Mon, Mar 9, 2009 at 7:35 AM, Anthony Sorace ano...@gmail.com wrote: given a list of files like /fish /dog /snake/asp /snake/python, the results of a vac (as interpreted by vacfs) seem

Re: [9fans] vac flattens trees?

2009-03-09 Thread Russ Cox
i think include fish/clown exclude fish/* and then vac fish dog pig would be fine. i haven't tried this, but i know there are some vac users who use -x quite a bit. russ

Re: [9fans] vac flattens trees?

2009-03-09 Thread erik quanstrom
On Mon Mar 9 23:30:22 EDT 2009, ano...@gmail.com wrote: that seems a little awkward. erik's suggestion is what i think i'd really like. rog's would be okay, although still somewhatawkward, were i on plan 9; since i'm not, i think i have russ's option. so with -x, say i had a tree: /dog

Re: [9fans] vac flattens trees?

2009-03-09 Thread john
Erik Quanstrom wrote: On Mon Mar 9 23:30:22 EDT 2009, ano...@gmail.com wrote: that seems a little awkward. erik's suggestion is what i think i'd really like. rog's would be okay, although still somewhatawkward, were i on plan 9; since i'm not, i think i have russ's option. so with -x, say i