deleting files. only part of the name known
as the subject sais, i must delete some files.
but i don't know the full name of the files only a part that does not modify. i must delete the older versions.
for example : i have the file some_file_123.txt
ok. i need to delete all files that have the name some_file_XXXXXX.txt where XXXXXX can be any caracter, letters, numbers, punctuation.
can this be done ? because i have no idea how.
thanks in advance,