0

I have a directory named - AB02530618-20191217-163059.bin_decomprypted (1) created using window. How can I delete this in Linux using command?

1 Answers1

0

I assume the directory is empty -- if not, you can't delete it anyway.

For file deletions, one trick is to wildcard as much of the name as you can, and use the -i (interactive) option to decide what subset of the matches to delete, one by one.

The rmdir command does not have that, but the recursive file removal will deal with directories. E.g.

rm -r -i AB*20191217-163059*

And examine everything it offers before you type y or n.

Paul_Pedant
  • 8,679