David Brodbeck writes: > > What helps me sometimes is wrapping it up: > > > > for i in *; do rm $i; done > > Won't that just expand the * and result in the same problem? It > seems like you've just moved the problem from the rm statement to > the for statement.
If the problem is the command line to rm being too long, this will work. Yes, the '*" will get expanded to the list of files ... but that will happen _within_ the running shell. (Using the services of glob(3) or something similar.) The command line to "rm" will have a single file-name, and should not be a problem. Robert Huff _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"