Community discussions

MikroTik App
 
ik3umt
Member Candidate
Member Candidate
Topic Author
Posts: 295
Joined: Tue Jul 08, 2014 3:58 pm

delete file syntax

Tue Apr 19, 2022 7:04 pm

Noob question:

need to remove all files /myfolder/myfile*.* by script

what syntax ?

Thanks
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11967
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: delete file syntax

Mon May 23, 2022 6:09 pm

/file remove [find where name~"^/myfolder/myfile.*\\..*"]

Who is online

Users browsing this forum: mbezuidenhout and 18 guests