Another quick way to delete files is to supress the file name in quotes ""
ie. (rm -f "-sT")
Jim
-- James Nessen E. nessenj@jimsoffice.org P. 916.257.6817 F. 877.410.3802 W. http://www.jimsoffice.org - Check out our free services at http://www.jimsoffice.org/servicesOn Fri, 14 Jan 2000, Harry Souders wrote:
> On Fri, Jan 14, 2000 at 08:22:35AM -0800, Lancashire, Andrew wrote: > > How timely this all was. I had accidentally created a file from the output > > of another command. The file name was "-sT" (without the quotes > > obviously). I had tried several ways to delete it and could not. The one > > I used successfully was ls|xargs -n1 --interactive rm -- , thank you Harry > > Souders, it worked like a charm.
**************************************************************************** * To UNSUBSCRIBE from the list, send a message with "unsubscribe lug-nuts" * in the message body to majordomo@saclug.org. Please direct other * questions, comments, or problems to lug-nuts-owner@saclug.org.
This archive was generated by hypermail 2b29 : Fri Feb 25 2000 - 14:29:10 PST