Hacker News new | ask | show | jobs
by whilenot-dev 330 days ago
$ mv a ../notexist

$ echo $?

0

1 comments

That's not what OP encountered.

> When Gemini executed move * "..\anuraag_xyz project", the wildcard was expanded and each file was individually "moved" (renamed) to anuraag_xyz project within the original directory.

> Each subsequent move overwrited the previous one, leaving only the last moved item

In a different scenario where there was only one file, the command would have moved only that one file, and no data would have been lost.