You are not logged in.

#1 2023-10-21 15:13:04

willianholtz
Member
Registered: 2017-09-23
Posts: 52

[SOLVED] Folder with special characters created by the system.

I'm trying to delete a folder that was created by some app or I don't know what, even as root I can't do it. I've tried logging in as root through Dolphin, I've tried renaming, I've tried deleting through the terminal and the message is always the same "Unable to remove the folder".

Does anyone know what to do?

Look:
https://ibb.co/H2jNXPC

In the terminal it appears like this:
/home/willian/x\u001EV

Last edited by willianholtz (2023-10-21 23:20:29)

Offline

#2 2023-10-21 15:16:09

loqs
Member
Registered: 2014-03-06
Posts: 18,928

Re: [SOLVED] Folder with special characters created by the system.

What is the output of:

stat /home/willian/x\u001EV
rm -r /home/willian/x\u001EV

Offline

#3 2023-10-21 16:42:25

willianholtz
Member
Registered: 2017-09-23
Posts: 52

Re: [SOLVED] Folder with special characters created by the system.

Nonexistent file

Offline

#4 2023-10-21 17:04:43

loqs
Member
Registered: 2014-03-06
Posts: 18,928

Re: [SOLVED] Folder with special characters created by the system.

What about:

ls -d /home/willian/*V

Offline

#5 2023-10-21 19:23:11

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,074

Re: [SOLVED] Folder with special characters created by the system.

The picture has more unicode chars than \u001E and notably before the "x" so there're probably some escape sequences in there that spoil the console output.

printf '%q\n' /home/willian/* | curl -F 'file=@-' 0x0.st

Edit: use absolute path

Last edited by seth (2023-10-21 19:23:44)

Offline

#6 2023-10-21 23:18:10

willianholtz
Member
Registered: 2017-09-23
Posts: 52

Re: [SOLVED] Folder with special characters created by the system.

ls -d /home/willian/*V

'/home/willian/'$'\320\302''x'$'\312\036''V'


and printf
http://0x0.st/HJt4.txt

EDIT:

rm -r $'/home/willian/\320\302x\312\036V'   Solve the problem!

Last edited by willianholtz (2023-10-21 23:19:55)

Offline

#7 2023-10-22 07:14:01

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,074

Re: [SOLVED] Folder with special characters created by the system.

Offline

Board footer

Powered by FluxBB