top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to delete a folder name containing *

+1 vote
453 views

say directory name is di* then how to delete it?

posted Aug 20, 2014 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button
Try to rename the folder and delete
try putting the name in quotes

2 Answers

+1 vote

Add the directory name in double quotes [ " "].

For example, if dir* is the directory name, rmdir "dir*" deletes dir* directory.

answer Aug 20, 2014 by Ranjith
0 votes

Move it to some tmp directory and delete parent directory.

answer Aug 20, 2014 by Abhay
...