Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 10:59 01 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : KILL with wildcards

Author Message
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 986
Posted: 02:58am 09 Apr 2022
Copy link to clipboard 
Print this post

If I can use FILES "*.LOG" and get a list of all the .LOG files. Why cant I use the wildcard to delete the files like KILL "*.LOG" ?

OA47
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 03:54am 09 Apr 2022
Copy link to clipboard 
Print this post

PERHAPS a safety thing.

If you were to accidentally use wildcards with KILL, you could delete a whole heap of files by mistake, and there is no recycle bin.

Just a guess.
It may in fact be meant to work, so it might be a bug for all I know.
Smoke makes things work. When the smoke gets out, it stops!
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1642
Posted: 06:00am 09 Apr 2022
Copy link to clipboard 
Print this post

Regarding KILL: see this post.

Bill
Keep safe. Live long and prosper.
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 986
Posted: 06:15am 09 Apr 2022
Copy link to clipboard 
Print this post

Thanks Bill, looks like the work around to delete 50 odd redundant .log files is by using the PC and not the mite.

OA47
Edited 2022-04-09 16:16 by OA47
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5089
Posted: 02:40pm 09 Apr 2022
Copy link to clipboard 
Print this post

Linux simply does what you are telling it, without the nagging "are you sure".
rm *.*

Volhout
Edited 2022-04-10 00:41 by Volhout
PicomiteVGA PETSCII ROBOTS
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025