Ron Johnson wrote:
On 2010-03-08 19:25, tom arnall wrote:I did a download via a torrent file, with results I don't understand. Rtorrent created a directory and put some files in it, all in a seemingly normal manner. But the stuff turned out to be a fake, so I tried to remove it. The result was that the non-hidden files went away, but two hidden files remained. When I tried to remove them, nothing happened except the names of the files changed. How does this happen?Need an example.
Yeah.I can guess the first part: bash doesn't expand the wildcard to dotfiles implicitely by default, but the second part? I don't know.
$ rm -f dir/.* "renames" them? If that's the case, I would look for the unlikely. What does happen if you issue a $ rm -rf dir then?Would you, by any chance, using a fancy filesystem without unicode support? (Wild guess.)
-thib