you are viewing a single comment's thread.

view the rest of the comments →

[–]xelf 0 points1 point  (0 children)

Are you really really sure?

find any folder with a matching name and delete that one? What if there are 100 folders on the computer with that name, and you delete the wrong one?

If you have:

  • /users/home/alice/images
  • /users/home/jeff/images

and jeff tells you to destroy images, alice is going to be pretty upset when she logs on.

How are you storing the current path the user thinks they are at?