Re: how do i extract a bullet from my foot (tar woes)

2001-08-25 Thread Cliff Sarginson
On Saturday 25 August 2001 06:56, Paul Mackinney wrote: > Karsten M. Self muttered: > > on Wed, Aug 22, 2001 at 11:17:32AM +1000, Brian May > > ([EMAIL PROTECTED]) wrote: I'm trying to remember a trick (probably in > > O'Reilly's _UNIX Power Tools_) for removing files by inode... > > Arg. In my fir

Re: how do i extract a bullet from my foot (tar woes)

2001-08-24 Thread Paul Mackinney
Karsten M. Self muttered: > on Wed, Aug 22, 2001 at 11:17:32AM +1000, Brian May ([EMAIL PROTECTED]) wrote: > I'm trying to remember a trick (probably in O'Reilly's _UNIX Power > Tools_) for removing files by inode... Arg. In my first System V admin class, the instructor showed us how to specify the

Re: how do i extract a bullet from my foot (tar woes)

2001-08-23 Thread Cliff Sarginson
On Wednesday 22 August 2001 21:28, Walter Hofmann wrote: > On Tue, 21 Aug 2001, Karsten M. Self wrote: > > I'm trying to remember a trick (probably in O'Reilly's _UNIX Power > > Tools_) for removing files by inode. Trying to remember what it was or > > in what context it worked. > > Unmount the fi

Re: how do i extract a bullet from my foot (tar woes)

2001-08-22 Thread Walter Hofmann
On Tue, 21 Aug 2001, Karsten M. Self wrote: > I'm trying to remember a trick (probably in O'Reilly's _UNIX Power > Tools_) for removing files by inode. Trying to remember what it was or > in what context it worked. Unmount the filesystem, then do [EMAIL PROTECTED]:~ > /sbin/debugfs debugfs 1.

Re: how do i extract a bullet from my foot (tar woes)

2001-08-22 Thread frankie
On Mon, Aug 20, 2001 at 02:26:37PM -0700, allen wayne best just ramblin in his amx wrote: > hello: > > i have managed to insert a bullet in my poda courtesy of tar and my > ineptness! that is, i did: > > tar -cvIf --remove-files /tmp/foo.tz /opt/tmp > > silly me filled up my current dir

Re: how do i extract a bullet from my foot (tar woes)

2001-08-22 Thread Cliff Sarginson
On Tue, Aug 21, 2001 at 08:32:40PM -0400, [EMAIL PROTECTED] wrote: > In linux.debian.user, you wrote: > > hello: > > > > i have managed to insert a bullet in my poda courtesy of tar and my > > ineptness! that is, i did: > > > > tar -cvIf --remove-files /tmp/foo.tz /opt/tmp > > > > silly me

Re: how do i extract a bullet from my foot (tar woes)

2001-08-21 Thread Peter S Galbraith
Brian May wrote: > A simpler thing which does exactly the same thing (and surprisingly > nobody seems to have mentioned it yet) is: > > rm -f ./--remove-files :-) Good answer. Whenever I have to delete a file with a difficult name and fail after a few tries, I simply call up Emacs, run `dired

Re: how do i extract a bullet from my foot (tar woes)

2001-08-21 Thread Karsten M. Self
on Wed, Aug 22, 2001 at 11:17:32AM +1000, Brian May ([EMAIL PROTECTED]) wrote: > > "Karsten" == Karsten M Self writes: > > Karsten> $ find . -type f -name '--remove-files' -exec rm -f > Karsten> {} \; > > If it weren't for the fact that "find" prefixes the name of the file > with

Re: how do i extract a bullet from my foot (tar woes)

2001-08-21 Thread Brian May
> "Karsten" == Karsten M Self writes: Karsten> $ find . -type f -name '--remove-files' -exec rm -f Karsten> {} \; If it weren't for the fact that "find" prefixes the name of the file with "./", then this wouldn't work. A simpler thing which does exactly the same thing (and surpr

Re: how do i extract a bullet from my foot (tar woes)

2001-08-21 Thread Brian May
> "Darren" == Darren Marsh <[EMAIL PROTECTED]> writes: Darren> rm -i *files [520] [scrooge:bam] ~ >rm -i *files rm: unrecognized option `--remove-files' Try `rm --help' for more information. wont work, because it just calls "rm" with parameters "-i" and "--remove-files", and rm can't tel

Re: how do i extract a bullet from my foot (tar woes)

2001-08-21 Thread ajlewis2
In linux.debian.user, you wrote: > hello: > > i have managed to insert a bullet in my poda courtesy of tar and my > ineptness! that is, i did: > > tar -cvIf --remove-files /tmp/foo.tz /opt/tmp > > silly me filled up my current directory with a file called "--remove-files". > my question

Re: how do i extract a bullet from my foot (tar woes)

2001-08-21 Thread Viktor Rosenfeld
Walter Hofmann wrote: > > Viktor Rosenfeld schrieb am Dienstag, den 21. August 2001: > > > but `rm ??remove-files` will also do the trick > > No, it gets globbed to "rm --remove-files" so this won't work. Argh, now that you're pointing my nose at it, I can see it too! This won't help anything.

Re: how do i extract a bullet from my foot (tar woes)

2001-08-21 Thread Jason Majors
Try rm -- --remove-files The "--" makes it take all following args as args and not options. This is a standard thing for most of the GNU or Unix tools. rm ./--remove-files would work too. Got those from "man rm" :). On Wed, Aug 22, 2001 at 07:28:26AM +1000, Darren Marsh wrote: > allen wayne best

Re: how do i extract a bullet from my foot (tar woes)

2001-08-21 Thread Darren Marsh
allen wayne best just ramblin in his amx wrote: hello: i have managed to insert a bullet in my poda courtesy of tar and my ineptness! that is, i did: tar -cvIf --remove-files /tmp/foo.tz /opt/tmp silly me filled up my current directory with a file called "--remove-files". my quest

Re: how do i extract a bullet from my foot (tar woes)

2001-08-21 Thread Walter Hofmann
Viktor Rosenfeld schrieb am Dienstag, den 21. August 2001: > but `rm ??remove-files` will also do the trick No, it gets globbed to "rm --remove-files" so this won't work. Walter

Re: how do i extract a bullet from my foot (tar woes)

2001-08-21 Thread Kirk Strauser
At 2001-08-20T23:38:02Z, "Karsten M. Self" writes: > Yet another solution: > > $ find . -type f -name '--remove-files' -exec rm -f {} \; Since we're getting creative: perl -e "unlink('--remove-files');" is my obligatory contribution. :) -- Kirk Strauser

Re: how do i extract a bullet from my foot (tar woes)

2001-08-21 Thread Dave Sherohman
On Mon, Aug 20, 2001 at 04:38:02PM -0700, Karsten M. Self wrote: > Yet another solution: > > $ find . -type f -name '--remove-files' -exec rm -f {} \; ...which is just a longwinded way of saying "rm -f ./--remove-files". (Unless you have a subdirectory containing another file named "--remove-

Re: how do i extract a bullet from my foot (tar woes)

2001-08-21 Thread Viktor Rosenfeld
It has been suggested already that `rm -- --remove-files` is the proper way, but `rm ??remove-files` will also do the trick (but could erase a lot more, so watch out)! Cheers, Viktor -- Viktor Rosenfeld WWW: http://www.informatik.hu-berlin.de/~rosenfel/

Re: how do i extract a bullet from my foot (tar woes)

2001-08-21 Thread Cliff Sarginson
On Mon, Aug 20, 2001 at 02:54:52PM -0700, Greg Wiley wrote: > On Monday, August 20, 2001 2:26 PM, [EMAIL PROTECTED] wrote: > > > silly me filled up my current directory with a file called > "--remove-files". > > my question is: how the heck to i get rid of this beast > > > > i've tried > > He

Re: how do i extract a bullet from my foot (tar woes)

2001-08-21 Thread Cliff Sarginson
On Mon, Aug 20, 2001 at 02:26:37PM -0700, allen wayne best just ramblin in his amx wrote: > hello: > > i have managed to insert a bullet in my poda courtesy of tar and my > ineptness! that is, i did: > > tar -cvIf --remove-files /tmp/foo.tz /opt/tmp > > silly me filled up my current dir

Re: how do i extract a bullet from my foot (tar woes)

2001-08-20 Thread Karsten M. Self
on Mon, Aug 20, 2001 at 02:26:37PM -0700, allen wayne best just ramblin in his amx ([EMAIL PROTECTED]) wrote: > hello: > > i have managed to insert a bullet in my poda courtesy of tar and my > ineptness! that is, i did: > > tar -cvIf --remove-files /tmp/foo.tz /opt/tmp > > silly me fill

Re: how do i extract a bullet from my foot (tar woes)

2001-08-20 Thread allen wayne best just ramblin in his amx
greg, bud: thank you very much. my disk has much more room now. thanks for the prompt replies. On Monday 20 August 2001 15:03, Bud Rogers wrote: > On Monday 20 August 2001 04:54 pm, Greg Wiley wrote: > > On Monday, August 20, 2001 2:26 PM, [EMAIL PROTECTED] wrote: > > > silly me filled up my cu

Re: how do i extract a bullet from my foot (tar woes)

2001-08-20 Thread Stig Brautaset
* allen wayne best just ramblin in his amx <[EMAIL PROTECTED]> spake thus: > hello: > > i have managed to insert a bullet in my poda courtesy of tar and my > ineptness! that is, i did: > > tar -cvIf --remove-files /tmp/foo.tz /opt/tmp > > silly me filled up my current directory with a fi

Re: how do i extract a bullet from my foot (tar woes)

2001-08-20 Thread Aaron Maxwell
Try this: rm -- --remove-files The '--' means 'none of the following arguments are command line switches, even if they really look like one.' best, Aaron On Monday 20 August 2001 14:26, allen wayne best just ramblin in his amx wrote: > hello: > > i have managed to insert a bullet in my

Re: how do i extract a bullet from my foot (tar woes)

2001-08-20 Thread Bud Rogers
On Monday 20 August 2001 04:54 pm, Greg Wiley wrote: > On Monday, August 20, 2001 2:26 PM, [EMAIL PROTECTED] wrote: > > silly me filled up my current directory with a file called > > "--remove-files". > > > my question is: how the heck to i get rid of this beast > > > > i've tried > > Here is a

Re: how do i extract a bullet from my foot (tar woes)

2001-08-20 Thread Greg Wiley
On Monday, August 20, 2001 2:26 PM, [EMAIL PROTECTED] wrote: > silly me filled up my current directory with a file called "--remove-files". > my question is: how the heck to i get rid of this beast > > i've tried Here is a C program that will do it: #include int main() { char *fname = "-

how do i extract a bullet from my foot (tar woes)

2001-08-20 Thread allen wayne best just ramblin in his amx
hello: i have managed to insert a bullet in my poda courtesy of tar and my ineptness! that is, i did: tar -cvIf --remove-files /tmp/foo.tz /opt/tmp silly me filled up my current directory with a file called "--remove-files". my question is: how the heck to i get rid of this beast