Jump to content

hello,

 

Im experimenting with Ubuntu 20.04.1 (im trying to learn the os/learn Linux in general, basics and trying out a few things etc), and i need to move a folder to the icons folder.
Im trying to do this with the mv command, with sudo at the start. but when i try to move files via said command i get a Directory not empty error.

 

Me being used to Windows, i dont know what this means at all.
Ive tried googling some info about it, but i myself cant find anything that actually helped or anything that doesnt sound too confusing - so thats why im asking here :')

 

folder im trying to move is called "Windows-10-master" (following a site with instructions on how to make Ubuntu kinda look like Windows 10, looked fun to me dont judge me about it)
and im trying to move it to icons: Computer usr share icons

Link to comment
https://linustechtips.com/topic/1278620-mv-cannot-move-directory-not-empty/
Share on other sites

Link to post
Share on other sites

3 minutes ago, CaptainChaos025 said:

tried it, gave me the insert password prompt, but gave the same error afterwards. perhaps try restarting it and try again? and perhaps any other suggestions?

read this article it might help https://linuxize.com/post/how-to-move-files-in-linux-with-mv-command/

if it was useful give it a like :) btw if your into linux pay a visit here

 

Link to post
Share on other sites

26 minutes ago, CaptainChaos025 said:

hello,

 

Im experimenting with Ubuntu 20.04.1 (im trying to learn the os/learn Linux in general, basics and trying out a few things etc), and i need to move a folder to the icons folder.
Im trying to do this with the mv command, with sudo at the start. but when i try to move files via said command i get a Directory not empty error.

 

Me being used to Windows, i dont know what this means at all.
Ive tried googling some info about it, but i myself cant find anything that actually helped or anything that doesnt sound too confusing - so thats why im asking here :')

 

folder im trying to move is called "Windows-10-master" (following a site with instructions on how to make Ubuntu kinda look like Windows 10, looked fun to me dont judge me about it)
and im trying to move it to icons: Computer usr share icons

https://unix.stackexchange.com/questions/127712/merging-folders-with-mv

 

Quote

mv cannot merge or overwrite directories, it will fail with the message "mv: cannot move 'a' to 'b': Directory not empty", even when you're using the --force option.

Either move all the files by themselves or copy and then delete the source.

Crystal: CPU: i7 7700K | Motherboard: Asus ROG Strix Z270F | RAM: GSkill 16 GB@3200MHz | GPU: Nvidia GTX 1080 Ti FE | Case: Corsair Crystal 570X (black) | PSU: EVGA Supernova G2 1000W | Monitor: Asus VG248QE 24"

Laptop: Dell XPS 13 9370 | CPU: i5 10510U | RAM: 16 GB

Server: CPU: i5 4690k | RAM: 16 GB | Case: Corsair Graphite 760T White | Storage: 19 TB

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×