How do I force move something when sudo mv -f doesn't work?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












1















I need to move a 16 GB folder to my external drive, but moving it manually gives me an in use error. I have tried to start in safe mode and moved it but it was still in use.



I have run these commands



diskutil repairdisk /dev/disk0s2
diskutil repairdisk /dev/disk2


Where disk0 is my disk and disk2 is the one I want to move it to.



I have no permission errors and I have even run sudo mv -f it gives me these:



mv: symlink: ../../../../../Preferences/com.apple.systemsound.plist: File exists`


I have also gotten the same error but without symlink



For 200 files and the last error is this



mv: /bin/cp: terminated with 1 (non-zero) status


What can I do? I have also ran sudo chmod 777 for both folders and used the "include for all files option (OS X).



By request here is the exact command:



sudo mv -f ~/desktop/collections/jadd /Volumes/External 4 









share|improve this question
























  • Are any of the files over 4gb? What file system is the destination disk?

    – rob
    Aug 11 '14 at 13:26











  • Its a "Mac OS Extended (journaled)" and the biggest file is 1,58 GB

    – DisplayName
    Aug 11 '14 at 13:30












  • Please edit your question and show us the exact command you used and the exact error received.

    – terdon
    Aug 11 '14 at 13:31











  • But the error is over 200 lines?

    – DisplayName
    Aug 11 '14 at 13:32











  • Is /Volumes/External 4 empty or does it have files (possibly duplicates of what you're trying to move) in it already?

    – Mark Plotnick
    Aug 11 '14 at 13:46















1















I need to move a 16 GB folder to my external drive, but moving it manually gives me an in use error. I have tried to start in safe mode and moved it but it was still in use.



I have run these commands



diskutil repairdisk /dev/disk0s2
diskutil repairdisk /dev/disk2


Where disk0 is my disk and disk2 is the one I want to move it to.



I have no permission errors and I have even run sudo mv -f it gives me these:



mv: symlink: ../../../../../Preferences/com.apple.systemsound.plist: File exists`


I have also gotten the same error but without symlink



For 200 files and the last error is this



mv: /bin/cp: terminated with 1 (non-zero) status


What can I do? I have also ran sudo chmod 777 for both folders and used the "include for all files option (OS X).



By request here is the exact command:



sudo mv -f ~/desktop/collections/jadd /Volumes/External 4 









share|improve this question
























  • Are any of the files over 4gb? What file system is the destination disk?

    – rob
    Aug 11 '14 at 13:26











  • Its a "Mac OS Extended (journaled)" and the biggest file is 1,58 GB

    – DisplayName
    Aug 11 '14 at 13:30












  • Please edit your question and show us the exact command you used and the exact error received.

    – terdon
    Aug 11 '14 at 13:31











  • But the error is over 200 lines?

    – DisplayName
    Aug 11 '14 at 13:32











  • Is /Volumes/External 4 empty or does it have files (possibly duplicates of what you're trying to move) in it already?

    – Mark Plotnick
    Aug 11 '14 at 13:46













1












1








1








I need to move a 16 GB folder to my external drive, but moving it manually gives me an in use error. I have tried to start in safe mode and moved it but it was still in use.



I have run these commands



diskutil repairdisk /dev/disk0s2
diskutil repairdisk /dev/disk2


Where disk0 is my disk and disk2 is the one I want to move it to.



I have no permission errors and I have even run sudo mv -f it gives me these:



mv: symlink: ../../../../../Preferences/com.apple.systemsound.plist: File exists`


I have also gotten the same error but without symlink



For 200 files and the last error is this



mv: /bin/cp: terminated with 1 (non-zero) status


What can I do? I have also ran sudo chmod 777 for both folders and used the "include for all files option (OS X).



By request here is the exact command:



sudo mv -f ~/desktop/collections/jadd /Volumes/External 4 









share|improve this question
















I need to move a 16 GB folder to my external drive, but moving it manually gives me an in use error. I have tried to start in safe mode and moved it but it was still in use.



I have run these commands



diskutil repairdisk /dev/disk0s2
diskutil repairdisk /dev/disk2


Where disk0 is my disk and disk2 is the one I want to move it to.



I have no permission errors and I have even run sudo mv -f it gives me these:



mv: symlink: ../../../../../Preferences/com.apple.systemsound.plist: File exists`


I have also gotten the same error but without symlink



For 200 files and the last error is this



mv: /bin/cp: terminated with 1 (non-zero) status


What can I do? I have also ran sudo chmod 777 for both folders and used the "include for all files option (OS X).



By request here is the exact command:



sudo mv -f ~/desktop/collections/jadd /Volumes/External 4 






osx cp mv






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 11 '14 at 13:33







DisplayName

















asked Aug 11 '14 at 13:21









DisplayNameDisplayName

4,44894580




4,44894580












  • Are any of the files over 4gb? What file system is the destination disk?

    – rob
    Aug 11 '14 at 13:26











  • Its a "Mac OS Extended (journaled)" and the biggest file is 1,58 GB

    – DisplayName
    Aug 11 '14 at 13:30












  • Please edit your question and show us the exact command you used and the exact error received.

    – terdon
    Aug 11 '14 at 13:31











  • But the error is over 200 lines?

    – DisplayName
    Aug 11 '14 at 13:32











  • Is /Volumes/External 4 empty or does it have files (possibly duplicates of what you're trying to move) in it already?

    – Mark Plotnick
    Aug 11 '14 at 13:46

















  • Are any of the files over 4gb? What file system is the destination disk?

    – rob
    Aug 11 '14 at 13:26











  • Its a "Mac OS Extended (journaled)" and the biggest file is 1,58 GB

    – DisplayName
    Aug 11 '14 at 13:30












  • Please edit your question and show us the exact command you used and the exact error received.

    – terdon
    Aug 11 '14 at 13:31











  • But the error is over 200 lines?

    – DisplayName
    Aug 11 '14 at 13:32











  • Is /Volumes/External 4 empty or does it have files (possibly duplicates of what you're trying to move) in it already?

    – Mark Plotnick
    Aug 11 '14 at 13:46
















Are any of the files over 4gb? What file system is the destination disk?

– rob
Aug 11 '14 at 13:26





Are any of the files over 4gb? What file system is the destination disk?

– rob
Aug 11 '14 at 13:26













Its a "Mac OS Extended (journaled)" and the biggest file is 1,58 GB

– DisplayName
Aug 11 '14 at 13:30






Its a "Mac OS Extended (journaled)" and the biggest file is 1,58 GB

– DisplayName
Aug 11 '14 at 13:30














Please edit your question and show us the exact command you used and the exact error received.

– terdon
Aug 11 '14 at 13:31





Please edit your question and show us the exact command you used and the exact error received.

– terdon
Aug 11 '14 at 13:31













But the error is over 200 lines?

– DisplayName
Aug 11 '14 at 13:32





But the error is over 200 lines?

– DisplayName
Aug 11 '14 at 13:32













Is /Volumes/External 4 empty or does it have files (possibly duplicates of what you're trying to move) in it already?

– Mark Plotnick
Aug 11 '14 at 13:46





Is /Volumes/External 4 empty or does it have files (possibly duplicates of what you're trying to move) in it already?

– Mark Plotnick
Aug 11 '14 at 13:46










1 Answer
1






active

oldest

votes


















0














Can't you do it from Finder? Also please make sure the external drive is really OSX Extended Journal. It appears it is either NTFS or FAT32.






share|improve this answer























  • I already said i did it via Finder, and i have never had a windows computer or anything else so there is no reason to have a NTFS or FAT32 disk.

    – DisplayName
    Aug 11 '14 at 14:03











  • Read your post again and point me where you mentioned about Finder. And remove your down vote if you have not mentioned indeed.

    – antimatter
    Aug 11 '14 at 14:11











  • I didnt mention "Finder" but here, In the beginning, "but moving it MANUALLY gives me an in use error. I have tried to start in safe mode and moved it but it was still in use. ". Which means via the Finder and not command-line.

    – DisplayName
    Aug 11 '14 at 14:16






  • 1





    Be a reasonable man and don't do reckless down voting. I have put you in my list of people never to help. You are asking for help and quick to downvote for no valid reason.

    – antimatter
    Aug 11 '14 at 14:28











  • I did not down vote that, i dont even have enough "reputation" to down vote a post.

    – DisplayName
    Aug 11 '14 at 14:29










Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f149684%2fhow-do-i-force-move-something-when-sudo-mv-f-doesnt-work%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Can't you do it from Finder? Also please make sure the external drive is really OSX Extended Journal. It appears it is either NTFS or FAT32.






share|improve this answer























  • I already said i did it via Finder, and i have never had a windows computer or anything else so there is no reason to have a NTFS or FAT32 disk.

    – DisplayName
    Aug 11 '14 at 14:03











  • Read your post again and point me where you mentioned about Finder. And remove your down vote if you have not mentioned indeed.

    – antimatter
    Aug 11 '14 at 14:11











  • I didnt mention "Finder" but here, In the beginning, "but moving it MANUALLY gives me an in use error. I have tried to start in safe mode and moved it but it was still in use. ". Which means via the Finder and not command-line.

    – DisplayName
    Aug 11 '14 at 14:16






  • 1





    Be a reasonable man and don't do reckless down voting. I have put you in my list of people never to help. You are asking for help and quick to downvote for no valid reason.

    – antimatter
    Aug 11 '14 at 14:28











  • I did not down vote that, i dont even have enough "reputation" to down vote a post.

    – DisplayName
    Aug 11 '14 at 14:29















0














Can't you do it from Finder? Also please make sure the external drive is really OSX Extended Journal. It appears it is either NTFS or FAT32.






share|improve this answer























  • I already said i did it via Finder, and i have never had a windows computer or anything else so there is no reason to have a NTFS or FAT32 disk.

    – DisplayName
    Aug 11 '14 at 14:03











  • Read your post again and point me where you mentioned about Finder. And remove your down vote if you have not mentioned indeed.

    – antimatter
    Aug 11 '14 at 14:11











  • I didnt mention "Finder" but here, In the beginning, "but moving it MANUALLY gives me an in use error. I have tried to start in safe mode and moved it but it was still in use. ". Which means via the Finder and not command-line.

    – DisplayName
    Aug 11 '14 at 14:16






  • 1





    Be a reasonable man and don't do reckless down voting. I have put you in my list of people never to help. You are asking for help and quick to downvote for no valid reason.

    – antimatter
    Aug 11 '14 at 14:28











  • I did not down vote that, i dont even have enough "reputation" to down vote a post.

    – DisplayName
    Aug 11 '14 at 14:29













0












0








0







Can't you do it from Finder? Also please make sure the external drive is really OSX Extended Journal. It appears it is either NTFS or FAT32.






share|improve this answer













Can't you do it from Finder? Also please make sure the external drive is really OSX Extended Journal. It appears it is either NTFS or FAT32.







share|improve this answer












share|improve this answer



share|improve this answer










answered Aug 11 '14 at 13:53









antimatterantimatter

193




193












  • I already said i did it via Finder, and i have never had a windows computer or anything else so there is no reason to have a NTFS or FAT32 disk.

    – DisplayName
    Aug 11 '14 at 14:03











  • Read your post again and point me where you mentioned about Finder. And remove your down vote if you have not mentioned indeed.

    – antimatter
    Aug 11 '14 at 14:11











  • I didnt mention "Finder" but here, In the beginning, "but moving it MANUALLY gives me an in use error. I have tried to start in safe mode and moved it but it was still in use. ". Which means via the Finder and not command-line.

    – DisplayName
    Aug 11 '14 at 14:16






  • 1





    Be a reasonable man and don't do reckless down voting. I have put you in my list of people never to help. You are asking for help and quick to downvote for no valid reason.

    – antimatter
    Aug 11 '14 at 14:28











  • I did not down vote that, i dont even have enough "reputation" to down vote a post.

    – DisplayName
    Aug 11 '14 at 14:29

















  • I already said i did it via Finder, and i have never had a windows computer or anything else so there is no reason to have a NTFS or FAT32 disk.

    – DisplayName
    Aug 11 '14 at 14:03











  • Read your post again and point me where you mentioned about Finder. And remove your down vote if you have not mentioned indeed.

    – antimatter
    Aug 11 '14 at 14:11











  • I didnt mention "Finder" but here, In the beginning, "but moving it MANUALLY gives me an in use error. I have tried to start in safe mode and moved it but it was still in use. ". Which means via the Finder and not command-line.

    – DisplayName
    Aug 11 '14 at 14:16






  • 1





    Be a reasonable man and don't do reckless down voting. I have put you in my list of people never to help. You are asking for help and quick to downvote for no valid reason.

    – antimatter
    Aug 11 '14 at 14:28











  • I did not down vote that, i dont even have enough "reputation" to down vote a post.

    – DisplayName
    Aug 11 '14 at 14:29
















I already said i did it via Finder, and i have never had a windows computer or anything else so there is no reason to have a NTFS or FAT32 disk.

– DisplayName
Aug 11 '14 at 14:03





I already said i did it via Finder, and i have never had a windows computer or anything else so there is no reason to have a NTFS or FAT32 disk.

– DisplayName
Aug 11 '14 at 14:03













Read your post again and point me where you mentioned about Finder. And remove your down vote if you have not mentioned indeed.

– antimatter
Aug 11 '14 at 14:11





Read your post again and point me where you mentioned about Finder. And remove your down vote if you have not mentioned indeed.

– antimatter
Aug 11 '14 at 14:11













I didnt mention "Finder" but here, In the beginning, "but moving it MANUALLY gives me an in use error. I have tried to start in safe mode and moved it but it was still in use. ". Which means via the Finder and not command-line.

– DisplayName
Aug 11 '14 at 14:16





I didnt mention "Finder" but here, In the beginning, "but moving it MANUALLY gives me an in use error. I have tried to start in safe mode and moved it but it was still in use. ". Which means via the Finder and not command-line.

– DisplayName
Aug 11 '14 at 14:16




1




1





Be a reasonable man and don't do reckless down voting. I have put you in my list of people never to help. You are asking for help and quick to downvote for no valid reason.

– antimatter
Aug 11 '14 at 14:28





Be a reasonable man and don't do reckless down voting. I have put you in my list of people never to help. You are asking for help and quick to downvote for no valid reason.

– antimatter
Aug 11 '14 at 14:28













I did not down vote that, i dont even have enough "reputation" to down vote a post.

– DisplayName
Aug 11 '14 at 14:29





I did not down vote that, i dont even have enough "reputation" to down vote a post.

– DisplayName
Aug 11 '14 at 14:29

















draft saved

draft discarded
















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f149684%2fhow-do-i-force-move-something-when-sudo-mv-f-doesnt-work%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown






Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?