Hi! Just a basic question. How do I delete multiple files in Linux. rm *.* didn't want to delete all the files (not at least those that wore "hiiden" .xxxx like). I had to feed one file at the time to get them deleted. Cheers! - tk
* Tom Kostiainen (tom.kostiainen@pp.inet.fi) [020205 10:20]:
Just a basic question. How do I delete multiple files in Linux. rm *.* didn't want to delete all the files (not at least those that wore "hiiden" .xxxx like). I had to feed one file at the time to get them deleted.
Your shell isn't globbing the dot-files...either set GLOBIGNORE or just rm $(ls -al) -- -ckm
On Tue, 5 Feb 2002 20:25:27 -0800 "Tom Kostiainen" <tom.kostiainen@pp.inet.fi> wrote:
Just a basic question. How do I delete multiple files in Linux. rm *.* didn't want to delete all the files (not at least those that wore "hiiden" .xxxx like). I had to feed one file at the time to get them deleted.
rm -f * the -f means don't prompt for each one. You sound like a guy who might like Midnight Commander. Type "mc" in an xterm or console window. Just touch insert on each file you want to delete to highlight, and hit F8. It's addicting, and you eventually loose the ability to do the commandline properly. :-) -- $|=1;while(1){print pack("h*",'75861647f302d4560275f6272797f3');sleep(1); for(1..16){for(8,32,8,7){print chr($_);}select(undef,undef,undef,.05);}}
Hi!
Just a basic question. How do I delete multiple files in Linux. rm *.* didn't want to delete all the files (not at least those that wore "hiiden" .xxxx like). I had to feed one file at the time to get them deleted.
Cheers!
- tk if you do rm *.* it doesn't remove the .something files because it looks only for files that have something.something (characters before
On Wednesday 6 February 2002 05:25, you wrote: the dot). if you want to lose the dotfiles just do: rm .* see also: man rm cheers, Marcel
participants (4)
-
Christopher Mahmood
-
Marcel Broekman
-
Tom Kostiainen
-
zentara