mv: File exists obwohl Zielverzeichnis leer ist...


Go to solution Solved by cz13,

Recommended Posts

Hallo zusammen!

 

Ich bin an einer grösseren Aufräumaktion, da ich das alte NAS komplett auf unRAID umziehen will.

Dabei ist die folgende Fehlermeldung beim MOVE aufgekommen:

"mv: cannot move '/mnt/disk5/kailon/ISO' to '/mnt/disk5/images/ISO': File exists"

Woran kann das liegen?

 

Die Dateien existieren nur auf Quellseite; auf der Zielseite sind ein paar der Verzeichnisse vorhanden, aber leer.

 

Danke und Gruss

Mutzli

 

Link to comment
  • Solution
Posted (edited)

Ich glaube es muss so aussehen:

 

mv  /mnt/disk5/kailon/ISO/* /mnt/disk5/images/ISO/

 

wichtig ist der / am Ende beim Ziel.

 

oder wenn es im Ziel den Ordner ISO noch nicht gibt:

 

mv  /mnt/disk5/kailon/ISO /mnt/disk5/images/

Edited by cz13
  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.