67
rated 0 times
[
67]
[
0]
/ answers: 1 / hits: 35748
/ 3 Years ago, tue, september 7, 2021, 10:01:39
I have a directory that contains the following:
x.pdf
y.zip
z.mp3
a.pdf
I want to delete all files apart from x.pdf
and a.pdf
. How do I do this from the terminal? There are no subdirectories so no need for any recursion.
More From » command-line