Move File has wrong new location #515

Open
opened 2026-02-05 17:42:09 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @rmartinoscar on GitHub (Dec 11, 2025).

On linux if you were to do mv 'libraries/net/minecraftforge/forge/1.21.11-61.0.1/unix_args copy.txt' ../../../../../unix_args.txt it would be moved to /home/container/unix_args.txt not /home/container/unix_args.txt/unix_args copy.txt (This is also how Pterodactyl works)
Image
Image
Image
Image
Image

Originally created by @rmartinoscar on GitHub (Dec 11, 2025). On linux if you were to do `mv 'libraries/net/minecraftforge/forge/1.21.11-61.0.1/unix_args copy.txt' ../../../../../unix_args.txt` it would be moved to `/home/container/unix_args.txt` not `/home/container/unix_args.txt/unix_args copy.txt` (This is also how Pterodactyl works) <img width="892" height="283" alt="Image" src="https://github.com/user-attachments/assets/4139b5bb-5156-4fe2-84fe-865f94938289" /> <img width="892" height="286" alt="Image" src="https://github.com/user-attachments/assets/6d61957a-a44b-4c4b-a067-7e6e4ebb810f" /> <img width="892" height="286" alt="Image" src="https://github.com/user-attachments/assets/70649617-d09f-49bf-b366-cb1373e4d549" /> <img width="382" height="115" alt="Image" src="https://github.com/user-attachments/assets/3d603f52-fecc-43d9-a3d7-5fc6d0ad3616" /> <img width="228" height="338" alt="Image" src="https://github.com/user-attachments/assets/d003b657-b2a8-449b-b395-9520221a93dc" />
Author
Owner

@Boy132 commented on GitHub (Dec 11, 2025):

This is intentional, the file name itself is not part of the "new location". I'm pretty sure we talked about that on Discord.
04ea6fcd94

@Boy132 commented on GitHub (Dec 11, 2025): This is intentional, the file name itself is not part of the "new location". I'm pretty sure we talked about that on Discord. https://github.com/pelican-dev/panel/pull/1116/commits/04ea6fcd949f0da442260652f76a610118ce5dcf
Author
Owner

@rmartinoscar commented on GitHub (Dec 14, 2025):

I can't recall anyway I must have misunderstood then cause this is really annoying to have to copy the file, move it in the according dir then rename it.
Would be even better if copy would let you choose the destination path instead of making it in the same folder imo.

@rmartinoscar commented on GitHub (Dec 14, 2025): I can't recall anyway I must have misunderstood then cause this is really annoying to have to copy the file, move it in the according dir then rename it. Would be even better if copy would let you choose the destination path instead of making it in the same folder imo.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#515