F5F Stay Refreshed Software Operating Systems Error occurred because the directory contains files.

Error occurred because the directory contains files.

Error occurred because the directory contains files.

L
LeoTheMasta
Junior Member
13
10-15-2020, 05:24 AM
#1
Hello, I'm working with Ubuntu 20.04.1 and trying to get familiar with Linux basics. I need to relocate a folder to the icons directory, using the mv command with sudo. However, I'm encountering a "Directory not empty" error when trying to move files. Since I'm used to Windows, this is confusing. I've searched online but haven't found clear guidance, so I'm reaching out for help. My folder to move is named "Windows-10-master" and I want it in the icons folder under Computer usr share icons.
L
LeoTheMasta
10-15-2020, 05:24 AM #1

Hello, I'm working with Ubuntu 20.04.1 and trying to get familiar with Linux basics. I need to relocate a folder to the icons directory, using the mv command with sudo. However, I'm encountering a "Directory not empty" error when trying to move files. Since I'm used to Windows, this is confusing. I've searched online but haven't found clear guidance, so I'm reaching out for help. My folder to move is named "Windows-10-master" and I want it in the icons folder under Computer usr share icons.

D
DanielCoutoPT
Junior Member
40
10-15-2020, 09:16 AM
#2
Run with -f after mv to ensure success
D
DanielCoutoPT
10-15-2020, 09:16 AM #2

Run with -f after mv to ensure success

A
103
10-15-2020, 10:02 AM
#3
I attempted to provide the insert password prompt, but encountered the same issue afterward. Maybe restart it and try again? Also consider other suggestions.
A
AvulcanLogic00
10-15-2020, 10:02 AM #3

I attempted to provide the insert password prompt, but encountered the same issue afterward. Maybe restart it and try again? Also consider other suggestions.

C
ClaudiaCat
Member
141
10-15-2020, 02:54 PM
#4
Read the article for guidance on moving files in Linux using the mv command.
C
ClaudiaCat
10-15-2020, 02:54 PM #4

Read the article for guidance on moving files in Linux using the mv command.

T
thebomb1216
Member
76
10-31-2020, 10:59 PM
#5
Consider combining folders or relocating files individually before removing the original source.
T
thebomb1216
10-31-2020, 10:59 PM #5

Consider combining folders or relocating files individually before removing the original source.