Large -X directory
I have a directory, no idea where it came from called '-X' and it has consumed my entire /home partition, now 10GB. Given the name, I am finding it hard to remove, how can I remove this file? I've been doing a lot of backup script testing on that devel server, so I am assuming it came from a bad run at this point with the -X option of tar placed incorrectly. -- Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Large -X directory
On Tue, 06 Sep 2005 12:29:56 -0400 Robert Fitzpatrick <[EMAIL PROTECTED]> wrote: > I have a directory, no idea where it came from called '-X' and it has > consumed my entire /home partition, now 10GB. Given the name, I am > finding it hard to remove, how can I remove this file? I've been doing a > lot of backup script testing on that devel server, so I am assuming it > came from a bad run at this point with the -X option of tar placed > incorrectly. > > -- > Robert > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" Try rm -rf -- "-X" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Large -X directory
On 2005-09-06 12:29, Robert Fitzpatrick <[EMAIL PROTECTED]> wrote: > I have a directory, no idea where it came from called '-X' and it has > consumed my entire /home partition, now 10GB. Given the name, I am > finding it hard to remove, how can I remove this file? I've been doing a > lot of backup script testing on that devel server, so I am assuming it > came from a bad run at this point with the -X option of tar placed > incorrectly. See the "NOTE" section of the rm(1) manpage, please. This is a FAQ. Prepending ./ to the name rm -r ./-X should work fine. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Large -X directory
On 9/6/05, Robert Fitzpatrick <[EMAIL PROTECTED]> wrote: > I have a directory, no idea where it came from called '-X' and it has > consumed my entire /home partition, now 10GB. Given the name, I am > finding it hard to remove, how can I remove this file? I've been doing a > lot of backup script testing on that devel server, so I am assuming it > came from a bad run at this point with the -X option of tar placed > incorrectly. Try rmdir -- -X Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"