Linux File System - Folder Removal with Special Charakters Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Come Celebrate our 10 Year Anniversary!How to copy file preserving directory path in Linux?df in linux not showing correct free space after file removalAllow anonymous upload for Vsftpd?write permission denied via filezilla sftp to /var/www/htmlHow do I setup my apache2 server for ownCloud?Correct Permissions VPS /var/www“Permission denied” to a directory that I own, permissions seemingly correctUnable to execute linux commands after fsckJenkins container on Linux with powershellCentos7 Samba can't write subdirectories via GVFS
Significance of Cersei's obsession with elephants?
How come Sam didn't become Lord of Horn Hill?
Is it fair for a professor to grade us on the possession of past papers?
Using audio cues to encourage good posture
Can a new player join a group only when a new campaign starts?
Do I really need recursive chmod to restrict access to a folder?
Compare a given version number in the form major.minor.build.patch and see if one is less than the other
What are the out-of-universe reasons for the references to Toby Maguire-era Spider-Man in ITSV
Denied boarding although I have proper visa and documentation. To whom should I make a complaint?
Does classifying an integer as a discrete log require it be part of a multiplicative group?
Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?
Using et al. for a last / senior author rather than for a first author
Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?
Is it cost-effective to upgrade an old-ish Giant Escape R3 commuter bike with entry-level branded parts (wheels, drivetrain)?
When the Haste spell ends on a creature, do attackers have advantage against that creature?
How do I make this wiring inside cabinet safer? (Pic)
Fundamental Solution of the Pell Equation
Why didn't Eitri join the fight?
Do square wave exist?
Can an alien society believe that their star system is the universe?
How to convince students of the implication truth values?
Fantasy story; one type of magic grows in power with use, but the more powerful they are, they more they are drawn to travel to their source
Amount of permutations on an NxNxN Rubik's Cube
How to find all the available tools in mac terminal?
Linux File System - Folder Removal with Special Charakters
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Come Celebrate our 10 Year Anniversary!How to copy file preserving directory path in Linux?df in linux not showing correct free space after file removalAllow anonymous upload for Vsftpd?write permission denied via filezilla sftp to /var/www/htmlHow do I setup my apache2 server for ownCloud?Correct Permissions VPS /var/www“Permission denied” to a directory that I own, permissions seemingly correctUnable to execute linux commands after fsckJenkins container on Linux with powershellCentos7 Samba can't write subdirectories via GVFS
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
we have an Linux Debian Server in our House as Developer Machine.
One of our developers has created accidental an Folder Called Ð?оваÑ? папка
How can I Remove this folder.
I have tried Several things such as Wildcard, Delete via inode Number, Remove via find, but nothing works.
All i get is
No such file or Directory
Here is my Complete Screen from my Removal Tests
root@debian:/etc# cd /var/mmstylo
root@debian:/var/mmstylo# ls -la
total 13
drwxrwxrwx 6 www-data www-data 296 Apr 11 18:04 .
drwxr-xr-x 2 www-data www-data 64 Apr 10 13:24 Ð?оваÑ? папка
-rw-r--r-- 1 www-data www-data 4096 Apr 10 13:24 ._.DS_Store
-rw-r--r-- 1 root root 6148 Apr 11 18:04 .DS_Store
drwx------ 2 root root 64 Mar 11 10:31 lost+found
drwxr-xr-x 8 www-data www-data 344 Apr 11 17:21 testwebdav
drwxr-xr-x 8 www-data www-data 280 Apr 10 13:27 webdav
root@debian:/var/mmstylo# rm Ð?оваÑ? папка
rm: cannot remove 'Ð?оваÑ?': No such file or directory
rm: cannot remove 'папка': No such file or directory
root@debian:/var/mmstylo# rm "Ð?оваÑ? папка"
rm: cannot remove 'Ð?оваÑ? папка': No such file or directory
root@debian:/var/mmstylo# mc
root@debian:/var/mmstylo# rm -rf "/var/mmstylo/Ð.оваÑ. папка"
root@debian:/var/mmstylo# ls -li
total 2
93906511492624 drwxrwxrwx 2 root root 64 Apr 10 13:24 Ð?оваÑ? папка
93906511480544 drwx------ 2 root root 64 Mar 11 10:31 lost+found
93906511486864 drwxr-xr-x 8 www-data www-data 344 Apr 11 17:21 testwebdav
93906511487328 drwxr-xr-x 8 www-data www-data 280 Apr 10 13:27 webdav
root@debian:/var/mmstylo# find . -inum 93906511492624 -delete
find: cannot delete ‘./Ð302235оваÑ302217 папка’: No such file or directory
root@debian:/var/mmstylo# find . -inum 93906511492624 -exec rm -i ;
rm: cannot remove './Ð'$'302235''оваÑ'$'302217'' папка': Is a directory
root@debian:/var/mmstylo# rm *?оÐ*
rm: cannot remove 'Ð'$'302235''оваÑ'$'302217'' папка': Is a directory
root@debian:/var/mmstylo# find . -inum 93906511492624 -exec rm -ir ;
rm: remove directory './Ð'$'302235''оваÑ'$'302217'' папка'? yes
rm: cannot remove './Ð'$'302235''оваÑ'$'302217'' папка': No such file or directory
root@debian:/var/mmstylo# mc
root@debian:/var/mmstylo# rm *Ñ. Ð*
rm: cannot remove '*Ñ.': No such file or directory
rm: cannot remove 'Ð'$'302235''оваÑ'$'302217'' папка': Is a directory
root@debian:/var/mmstylo# rm "*Ñ. Ð*"
rm: cannot remove '*Ñ. Ð*': No such file or directory
root@debian:/var/mmstylo# rm './Ð'$'302235''оваÑ'$'302217'' папка'
rm: cannot remove './Ð'$'302235''оваÑ'$'302217'' папка': Is a directory
root@debian:/var/mmstylo# mv /var/mmstylo/'./Ð'$'302235''оваÑ'$'302217'' папка' /var/mmsytlo/testfolder mv: cannot move '/var/mmstylo/./Ð'$'302235''оваÑ'$'302217'' папка' to '/var/mmsytlo/testfolder': No suc h file or directory
root@debian:/var/mmstylo# mv './Ð'$'302235''оваÑ'$'302217'' папка' /var/mmstylo/testfolder
mv: cannot move './Ð'$'302235''оваÑ'$'302217'' папка' to '/var/mmstylo/testfolder': Input/output error
root@debian:/var/mmstylo# mc
root@debian:/var/mmstylo# ls *Ñ? Ð*
ls: cannot access '*Ñ?': No such file or directory
Ð?оваÑ? папка:
root@debian:/var/mmstylo# rm -r 'Ð?оваÑ?'' папка'
rm: cannot remove 'Ð?оваÑ? папка': No such file or directory
root@debian:/var/mmstylo# rm -r 'Ð?оваÑ?''папка'
rm: cannot remove 'Ð?оваÑ?папка': No such file or directory
root@debian:/var/mmstylo# rm -r 'Ð?оваÑ?' 'папка'
rm: cannot remove 'Ð?оваÑ?': No such file or directory
rm: cannot remove 'папка': No such file or directory
root@debian:/var/mmstylo# rm -r 'Ð?оваÑ?'*'папка'
rm: cannot remove 'Ð?оваÑ?*папка': No such file or directory
root@debian:/var/mmstylo# rm -r 'Ð?оваÑ?*папка'
rm: cannot remove 'Ð?оваÑ?*папка': No such file or directory
root@debian:/var/mmstylo# ls -la
total 13
drwxrwxrwx 6 www-data www-data 296 Apr 11 18:04 .
drwxrwxrwx 2 root root 64 Apr 10 13:24 Ð?оваÑ? папка
-rw-r--r-- 1 www-data www-data 4096 Apr 10 13:24 ._.DS_Store
-rw-r--r-- 1 root root 6148 Apr 11 18:04 .DS_Store
drwx------ 2 root root 64 Mar 11 10:31 lost+found
drwxr-xr-x 8 www-data www-data 344 Apr 11 17:21 testwebdav
drwxr-xr-x 8 www-data www-data 280 Apr 10 13:27 webdav
root@debian:/var/mmstylo# find . -xdev -inum 93906511492624 -exec rm -i '' ';'
rm: cannot remove './Ð'$'302235''оваÑ'$'302217'' папка': Is a directory
root@debian:/var/mmstylo#
We have to delete this Folder because some of our External Customers gets Virus Errors and Warnings every time about this Folder.
But its empty, and guaranteed no Virus.
linux directory remove
New contributor
add a comment |
we have an Linux Debian Server in our House as Developer Machine.
One of our developers has created accidental an Folder Called Ð?оваÑ? папка
How can I Remove this folder.
I have tried Several things such as Wildcard, Delete via inode Number, Remove via find, but nothing works.
All i get is
No such file or Directory
Here is my Complete Screen from my Removal Tests
root@debian:/etc# cd /var/mmstylo
root@debian:/var/mmstylo# ls -la
total 13
drwxrwxrwx 6 www-data www-data 296 Apr 11 18:04 .
drwxr-xr-x 2 www-data www-data 64 Apr 10 13:24 Ð?оваÑ? папка
-rw-r--r-- 1 www-data www-data 4096 Apr 10 13:24 ._.DS_Store
-rw-r--r-- 1 root root 6148 Apr 11 18:04 .DS_Store
drwx------ 2 root root 64 Mar 11 10:31 lost+found
drwxr-xr-x 8 www-data www-data 344 Apr 11 17:21 testwebdav
drwxr-xr-x 8 www-data www-data 280 Apr 10 13:27 webdav
root@debian:/var/mmstylo# rm Ð?оваÑ? папка
rm: cannot remove 'Ð?оваÑ?': No such file or directory
rm: cannot remove 'папка': No such file or directory
root@debian:/var/mmstylo# rm "Ð?оваÑ? папка"
rm: cannot remove 'Ð?оваÑ? папка': No such file or directory
root@debian:/var/mmstylo# mc
root@debian:/var/mmstylo# rm -rf "/var/mmstylo/Ð.оваÑ. папка"
root@debian:/var/mmstylo# ls -li
total 2
93906511492624 drwxrwxrwx 2 root root 64 Apr 10 13:24 Ð?оваÑ? папка
93906511480544 drwx------ 2 root root 64 Mar 11 10:31 lost+found
93906511486864 drwxr-xr-x 8 www-data www-data 344 Apr 11 17:21 testwebdav
93906511487328 drwxr-xr-x 8 www-data www-data 280 Apr 10 13:27 webdav
root@debian:/var/mmstylo# find . -inum 93906511492624 -delete
find: cannot delete ‘./Ð302235оваÑ302217 папка’: No such file or directory
root@debian:/var/mmstylo# find . -inum 93906511492624 -exec rm -i ;
rm: cannot remove './Ð'$'302235''оваÑ'$'302217'' папка': Is a directory
root@debian:/var/mmstylo# rm *?оÐ*
rm: cannot remove 'Ð'$'302235''оваÑ'$'302217'' папка': Is a directory
root@debian:/var/mmstylo# find . -inum 93906511492624 -exec rm -ir ;
rm: remove directory './Ð'$'302235''оваÑ'$'302217'' папка'? yes
rm: cannot remove './Ð'$'302235''оваÑ'$'302217'' папка': No such file or directory
root@debian:/var/mmstylo# mc
root@debian:/var/mmstylo# rm *Ñ. Ð*
rm: cannot remove '*Ñ.': No such file or directory
rm: cannot remove 'Ð'$'302235''оваÑ'$'302217'' папка': Is a directory
root@debian:/var/mmstylo# rm "*Ñ. Ð*"
rm: cannot remove '*Ñ. Ð*': No such file or directory
root@debian:/var/mmstylo# rm './Ð'$'302235''оваÑ'$'302217'' папка'
rm: cannot remove './Ð'$'302235''оваÑ'$'302217'' папка': Is a directory
root@debian:/var/mmstylo# mv /var/mmstylo/'./Ð'$'302235''оваÑ'$'302217'' папка' /var/mmsytlo/testfolder mv: cannot move '/var/mmstylo/./Ð'$'302235''оваÑ'$'302217'' папка' to '/var/mmsytlo/testfolder': No suc h file or directory
root@debian:/var/mmstylo# mv './Ð'$'302235''оваÑ'$'302217'' папка' /var/mmstylo/testfolder
mv: cannot move './Ð'$'302235''оваÑ'$'302217'' папка' to '/var/mmstylo/testfolder': Input/output error
root@debian:/var/mmstylo# mc
root@debian:/var/mmstylo# ls *Ñ? Ð*
ls: cannot access '*Ñ?': No such file or directory
Ð?оваÑ? папка:
root@debian:/var/mmstylo# rm -r 'Ð?оваÑ?'' папка'
rm: cannot remove 'Ð?оваÑ? папка': No such file or directory
root@debian:/var/mmstylo# rm -r 'Ð?оваÑ?''папка'
rm: cannot remove 'Ð?оваÑ?папка': No such file or directory
root@debian:/var/mmstylo# rm -r 'Ð?оваÑ?' 'папка'
rm: cannot remove 'Ð?оваÑ?': No such file or directory
rm: cannot remove 'папка': No such file or directory
root@debian:/var/mmstylo# rm -r 'Ð?оваÑ?'*'папка'
rm: cannot remove 'Ð?оваÑ?*папка': No such file or directory
root@debian:/var/mmstylo# rm -r 'Ð?оваÑ?*папка'
rm: cannot remove 'Ð?оваÑ?*папка': No such file or directory
root@debian:/var/mmstylo# ls -la
total 13
drwxrwxrwx 6 www-data www-data 296 Apr 11 18:04 .
drwxrwxrwx 2 root root 64 Apr 10 13:24 Ð?оваÑ? папка
-rw-r--r-- 1 www-data www-data 4096 Apr 10 13:24 ._.DS_Store
-rw-r--r-- 1 root root 6148 Apr 11 18:04 .DS_Store
drwx------ 2 root root 64 Mar 11 10:31 lost+found
drwxr-xr-x 8 www-data www-data 344 Apr 11 17:21 testwebdav
drwxr-xr-x 8 www-data www-data 280 Apr 10 13:27 webdav
root@debian:/var/mmstylo# find . -xdev -inum 93906511492624 -exec rm -i '' ';'
rm: cannot remove './Ð'$'302235''оваÑ'$'302217'' папка': Is a directory
root@debian:/var/mmstylo#
We have to delete this Folder because some of our External Customers gets Virus Errors and Warnings every time about this Folder.
But its empty, and guaranteed no Virus.
linux directory remove
New contributor
1
You got several timesis a directory
.. meaning the directory was found. It was just not removed because you forgot the-r
parameter. Tryrm -r Ð*
again.
– Gerald Schneider
Apr 12 at 8:25
root@debian:/var/mmstylo# rm -r Ð* rm: cannot remove 'Ð'$'302235''оваÑ'$'302217'' папка': No such file or directory
– Nicolay Braetter
Apr 12 at 10:33
add a comment |
we have an Linux Debian Server in our House as Developer Machine.
One of our developers has created accidental an Folder Called Ð?оваÑ? папка
How can I Remove this folder.
I have tried Several things such as Wildcard, Delete via inode Number, Remove via find, but nothing works.
All i get is
No such file or Directory
Here is my Complete Screen from my Removal Tests
root@debian:/etc# cd /var/mmstylo
root@debian:/var/mmstylo# ls -la
total 13
drwxrwxrwx 6 www-data www-data 296 Apr 11 18:04 .
drwxr-xr-x 2 www-data www-data 64 Apr 10 13:24 Ð?оваÑ? папка
-rw-r--r-- 1 www-data www-data 4096 Apr 10 13:24 ._.DS_Store
-rw-r--r-- 1 root root 6148 Apr 11 18:04 .DS_Store
drwx------ 2 root root 64 Mar 11 10:31 lost+found
drwxr-xr-x 8 www-data www-data 344 Apr 11 17:21 testwebdav
drwxr-xr-x 8 www-data www-data 280 Apr 10 13:27 webdav
root@debian:/var/mmstylo# rm Ð?оваÑ? папка
rm: cannot remove 'Ð?оваÑ?': No such file or directory
rm: cannot remove 'папка': No such file or directory
root@debian:/var/mmstylo# rm "Ð?оваÑ? папка"
rm: cannot remove 'Ð?оваÑ? папка': No such file or directory
root@debian:/var/mmstylo# mc
root@debian:/var/mmstylo# rm -rf "/var/mmstylo/Ð.оваÑ. папка"
root@debian:/var/mmstylo# ls -li
total 2
93906511492624 drwxrwxrwx 2 root root 64 Apr 10 13:24 Ð?оваÑ? папка
93906511480544 drwx------ 2 root root 64 Mar 11 10:31 lost+found
93906511486864 drwxr-xr-x 8 www-data www-data 344 Apr 11 17:21 testwebdav
93906511487328 drwxr-xr-x 8 www-data www-data 280 Apr 10 13:27 webdav
root@debian:/var/mmstylo# find . -inum 93906511492624 -delete
find: cannot delete ‘./Ð302235оваÑ302217 папка’: No such file or directory
root@debian:/var/mmstylo# find . -inum 93906511492624 -exec rm -i ;
rm: cannot remove './Ð'$'302235''оваÑ'$'302217'' папка': Is a directory
root@debian:/var/mmstylo# rm *?оÐ*
rm: cannot remove 'Ð'$'302235''оваÑ'$'302217'' папка': Is a directory
root@debian:/var/mmstylo# find . -inum 93906511492624 -exec rm -ir ;
rm: remove directory './Ð'$'302235''оваÑ'$'302217'' папка'? yes
rm: cannot remove './Ð'$'302235''оваÑ'$'302217'' папка': No such file or directory
root@debian:/var/mmstylo# mc
root@debian:/var/mmstylo# rm *Ñ. Ð*
rm: cannot remove '*Ñ.': No such file or directory
rm: cannot remove 'Ð'$'302235''оваÑ'$'302217'' папка': Is a directory
root@debian:/var/mmstylo# rm "*Ñ. Ð*"
rm: cannot remove '*Ñ. Ð*': No such file or directory
root@debian:/var/mmstylo# rm './Ð'$'302235''оваÑ'$'302217'' папка'
rm: cannot remove './Ð'$'302235''оваÑ'$'302217'' папка': Is a directory
root@debian:/var/mmstylo# mv /var/mmstylo/'./Ð'$'302235''оваÑ'$'302217'' папка' /var/mmsytlo/testfolder mv: cannot move '/var/mmstylo/./Ð'$'302235''оваÑ'$'302217'' папка' to '/var/mmsytlo/testfolder': No suc h file or directory
root@debian:/var/mmstylo# mv './Ð'$'302235''оваÑ'$'302217'' папка' /var/mmstylo/testfolder
mv: cannot move './Ð'$'302235''оваÑ'$'302217'' папка' to '/var/mmstylo/testfolder': Input/output error
root@debian:/var/mmstylo# mc
root@debian:/var/mmstylo# ls *Ñ? Ð*
ls: cannot access '*Ñ?': No such file or directory
Ð?оваÑ? папка:
root@debian:/var/mmstylo# rm -r 'Ð?оваÑ?'' папка'
rm: cannot remove 'Ð?оваÑ? папка': No such file or directory
root@debian:/var/mmstylo# rm -r 'Ð?оваÑ?''папка'
rm: cannot remove 'Ð?оваÑ?папка': No such file or directory
root@debian:/var/mmstylo# rm -r 'Ð?оваÑ?' 'папка'
rm: cannot remove 'Ð?оваÑ?': No such file or directory
rm: cannot remove 'папка': No such file or directory
root@debian:/var/mmstylo# rm -r 'Ð?оваÑ?'*'папка'
rm: cannot remove 'Ð?оваÑ?*папка': No such file or directory
root@debian:/var/mmstylo# rm -r 'Ð?оваÑ?*папка'
rm: cannot remove 'Ð?оваÑ?*папка': No such file or directory
root@debian:/var/mmstylo# ls -la
total 13
drwxrwxrwx 6 www-data www-data 296 Apr 11 18:04 .
drwxrwxrwx 2 root root 64 Apr 10 13:24 Ð?оваÑ? папка
-rw-r--r-- 1 www-data www-data 4096 Apr 10 13:24 ._.DS_Store
-rw-r--r-- 1 root root 6148 Apr 11 18:04 .DS_Store
drwx------ 2 root root 64 Mar 11 10:31 lost+found
drwxr-xr-x 8 www-data www-data 344 Apr 11 17:21 testwebdav
drwxr-xr-x 8 www-data www-data 280 Apr 10 13:27 webdav
root@debian:/var/mmstylo# find . -xdev -inum 93906511492624 -exec rm -i '' ';'
rm: cannot remove './Ð'$'302235''оваÑ'$'302217'' папка': Is a directory
root@debian:/var/mmstylo#
We have to delete this Folder because some of our External Customers gets Virus Errors and Warnings every time about this Folder.
But its empty, and guaranteed no Virus.
linux directory remove
New contributor
we have an Linux Debian Server in our House as Developer Machine.
One of our developers has created accidental an Folder Called Ð?оваÑ? папка
How can I Remove this folder.
I have tried Several things such as Wildcard, Delete via inode Number, Remove via find, but nothing works.
All i get is
No such file or Directory
Here is my Complete Screen from my Removal Tests
root@debian:/etc# cd /var/mmstylo
root@debian:/var/mmstylo# ls -la
total 13
drwxrwxrwx 6 www-data www-data 296 Apr 11 18:04 .
drwxr-xr-x 2 www-data www-data 64 Apr 10 13:24 Ð?оваÑ? папка
-rw-r--r-- 1 www-data www-data 4096 Apr 10 13:24 ._.DS_Store
-rw-r--r-- 1 root root 6148 Apr 11 18:04 .DS_Store
drwx------ 2 root root 64 Mar 11 10:31 lost+found
drwxr-xr-x 8 www-data www-data 344 Apr 11 17:21 testwebdav
drwxr-xr-x 8 www-data www-data 280 Apr 10 13:27 webdav
root@debian:/var/mmstylo# rm Ð?оваÑ? папка
rm: cannot remove 'Ð?оваÑ?': No such file or directory
rm: cannot remove 'папка': No such file or directory
root@debian:/var/mmstylo# rm "Ð?оваÑ? папка"
rm: cannot remove 'Ð?оваÑ? папка': No such file or directory
root@debian:/var/mmstylo# mc
root@debian:/var/mmstylo# rm -rf "/var/mmstylo/Ð.оваÑ. папка"
root@debian:/var/mmstylo# ls -li
total 2
93906511492624 drwxrwxrwx 2 root root 64 Apr 10 13:24 Ð?оваÑ? папка
93906511480544 drwx------ 2 root root 64 Mar 11 10:31 lost+found
93906511486864 drwxr-xr-x 8 www-data www-data 344 Apr 11 17:21 testwebdav
93906511487328 drwxr-xr-x 8 www-data www-data 280 Apr 10 13:27 webdav
root@debian:/var/mmstylo# find . -inum 93906511492624 -delete
find: cannot delete ‘./Ð302235оваÑ302217 папка’: No such file or directory
root@debian:/var/mmstylo# find . -inum 93906511492624 -exec rm -i ;
rm: cannot remove './Ð'$'302235''оваÑ'$'302217'' папка': Is a directory
root@debian:/var/mmstylo# rm *?оÐ*
rm: cannot remove 'Ð'$'302235''оваÑ'$'302217'' папка': Is a directory
root@debian:/var/mmstylo# find . -inum 93906511492624 -exec rm -ir ;
rm: remove directory './Ð'$'302235''оваÑ'$'302217'' папка'? yes
rm: cannot remove './Ð'$'302235''оваÑ'$'302217'' папка': No such file or directory
root@debian:/var/mmstylo# mc
root@debian:/var/mmstylo# rm *Ñ. Ð*
rm: cannot remove '*Ñ.': No such file or directory
rm: cannot remove 'Ð'$'302235''оваÑ'$'302217'' папка': Is a directory
root@debian:/var/mmstylo# rm "*Ñ. Ð*"
rm: cannot remove '*Ñ. Ð*': No such file or directory
root@debian:/var/mmstylo# rm './Ð'$'302235''оваÑ'$'302217'' папка'
rm: cannot remove './Ð'$'302235''оваÑ'$'302217'' папка': Is a directory
root@debian:/var/mmstylo# mv /var/mmstylo/'./Ð'$'302235''оваÑ'$'302217'' папка' /var/mmsytlo/testfolder mv: cannot move '/var/mmstylo/./Ð'$'302235''оваÑ'$'302217'' папка' to '/var/mmsytlo/testfolder': No suc h file or directory
root@debian:/var/mmstylo# mv './Ð'$'302235''оваÑ'$'302217'' папка' /var/mmstylo/testfolder
mv: cannot move './Ð'$'302235''оваÑ'$'302217'' папка' to '/var/mmstylo/testfolder': Input/output error
root@debian:/var/mmstylo# mc
root@debian:/var/mmstylo# ls *Ñ? Ð*
ls: cannot access '*Ñ?': No such file or directory
Ð?оваÑ? папка:
root@debian:/var/mmstylo# rm -r 'Ð?оваÑ?'' папка'
rm: cannot remove 'Ð?оваÑ? папка': No such file or directory
root@debian:/var/mmstylo# rm -r 'Ð?оваÑ?''папка'
rm: cannot remove 'Ð?оваÑ?папка': No such file or directory
root@debian:/var/mmstylo# rm -r 'Ð?оваÑ?' 'папка'
rm: cannot remove 'Ð?оваÑ?': No such file or directory
rm: cannot remove 'папка': No such file or directory
root@debian:/var/mmstylo# rm -r 'Ð?оваÑ?'*'папка'
rm: cannot remove 'Ð?оваÑ?*папка': No such file or directory
root@debian:/var/mmstylo# rm -r 'Ð?оваÑ?*папка'
rm: cannot remove 'Ð?оваÑ?*папка': No such file or directory
root@debian:/var/mmstylo# ls -la
total 13
drwxrwxrwx 6 www-data www-data 296 Apr 11 18:04 .
drwxrwxrwx 2 root root 64 Apr 10 13:24 Ð?оваÑ? папка
-rw-r--r-- 1 www-data www-data 4096 Apr 10 13:24 ._.DS_Store
-rw-r--r-- 1 root root 6148 Apr 11 18:04 .DS_Store
drwx------ 2 root root 64 Mar 11 10:31 lost+found
drwxr-xr-x 8 www-data www-data 344 Apr 11 17:21 testwebdav
drwxr-xr-x 8 www-data www-data 280 Apr 10 13:27 webdav
root@debian:/var/mmstylo# find . -xdev -inum 93906511492624 -exec rm -i '' ';'
rm: cannot remove './Ð'$'302235''оваÑ'$'302217'' папка': Is a directory
root@debian:/var/mmstylo#
We have to delete this Folder because some of our External Customers gets Virus Errors and Warnings every time about this Folder.
But its empty, and guaranteed no Virus.
linux directory remove
linux directory remove
New contributor
New contributor
edited Apr 12 at 8:23
Gerald Schneider
6,70532647
6,70532647
New contributor
asked Apr 12 at 8:21
Nicolay BraetterNicolay Braetter
61
61
New contributor
New contributor
1
You got several timesis a directory
.. meaning the directory was found. It was just not removed because you forgot the-r
parameter. Tryrm -r Ð*
again.
– Gerald Schneider
Apr 12 at 8:25
root@debian:/var/mmstylo# rm -r Ð* rm: cannot remove 'Ð'$'302235''оваÑ'$'302217'' папка': No such file or directory
– Nicolay Braetter
Apr 12 at 10:33
add a comment |
1
You got several timesis a directory
.. meaning the directory was found. It was just not removed because you forgot the-r
parameter. Tryrm -r Ð*
again.
– Gerald Schneider
Apr 12 at 8:25
root@debian:/var/mmstylo# rm -r Ð* rm: cannot remove 'Ð'$'302235''оваÑ'$'302217'' папка': No such file or directory
– Nicolay Braetter
Apr 12 at 10:33
1
1
You got several times
is a directory
.. meaning the directory was found. It was just not removed because you forgot the -r
parameter. Try rm -r Ð*
again.– Gerald Schneider
Apr 12 at 8:25
You got several times
is a directory
.. meaning the directory was found. It was just not removed because you forgot the -r
parameter. Try rm -r Ð*
again.– Gerald Schneider
Apr 12 at 8:25
root@debian:/var/mmstylo# rm -r Ð* rm: cannot remove 'Ð'$'302235''оваÑ'$'302217'' папка': No such file or directory
– Nicolay Braetter
Apr 12 at 10:33
root@debian:/var/mmstylo# rm -r Ð* rm: cannot remove 'Ð'$'302235''оваÑ'$'302217'' папка': No such file or directory
– Nicolay Braetter
Apr 12 at 10:33
add a comment |
1 Answer
1
active
oldest
votes
You already have a couple of instances where the directory name is properly escaped and passed correctly to the rm
command but those result in an error message, for instance:
rm: cannot remove
'./Ð'$'302235''оваÑ'$'302217'' папка'
: Is a directory
The rm
command without any arguments won't remove directories. Try rmdir
or use the -r
argument for rm
Thanks a Lot, but didn`t work. There is no such file or directory.
– Nicolay Braetter
Apr 12 at 10:31
root@debian:/var/mmstylo# rmdir './Ð'$'302235''оваÑ'$'302217'' папка' rmdir: failed to remove './Ð'$'302235''оваÑ'$'302217'' папка': No such file or directory
– Nicolay Braetter
Apr 12 at 10:34
And didfind . -inum 93906511492624 -exec rm -ri ;
work better?
– HBruijn
Apr 12 at 10:59
root@debian:/var/mmstylo# find . -inum 93906511492624 -exec rm -ri ; rm: remove directory './Ð'$'302235''оваÑ'$'302217'' папка'? yes rm: cannot remove './Ð'$'302235''оваÑ'$'302217'' папка': No such file or directory
– Nicolay Braetter
Apr 12 at 13:32
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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
);
);
Nicolay Braetter is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f962744%2flinux-file-system-folder-removal-with-special-charakters%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
You already have a couple of instances where the directory name is properly escaped and passed correctly to the rm
command but those result in an error message, for instance:
rm: cannot remove
'./Ð'$'302235''оваÑ'$'302217'' папка'
: Is a directory
The rm
command without any arguments won't remove directories. Try rmdir
or use the -r
argument for rm
Thanks a Lot, but didn`t work. There is no such file or directory.
– Nicolay Braetter
Apr 12 at 10:31
root@debian:/var/mmstylo# rmdir './Ð'$'302235''оваÑ'$'302217'' папка' rmdir: failed to remove './Ð'$'302235''оваÑ'$'302217'' папка': No such file or directory
– Nicolay Braetter
Apr 12 at 10:34
And didfind . -inum 93906511492624 -exec rm -ri ;
work better?
– HBruijn
Apr 12 at 10:59
root@debian:/var/mmstylo# find . -inum 93906511492624 -exec rm -ri ; rm: remove directory './Ð'$'302235''оваÑ'$'302217'' папка'? yes rm: cannot remove './Ð'$'302235''оваÑ'$'302217'' папка': No such file or directory
– Nicolay Braetter
Apr 12 at 13:32
add a comment |
You already have a couple of instances where the directory name is properly escaped and passed correctly to the rm
command but those result in an error message, for instance:
rm: cannot remove
'./Ð'$'302235''оваÑ'$'302217'' папка'
: Is a directory
The rm
command without any arguments won't remove directories. Try rmdir
or use the -r
argument for rm
Thanks a Lot, but didn`t work. There is no such file or directory.
– Nicolay Braetter
Apr 12 at 10:31
root@debian:/var/mmstylo# rmdir './Ð'$'302235''оваÑ'$'302217'' папка' rmdir: failed to remove './Ð'$'302235''оваÑ'$'302217'' папка': No such file or directory
– Nicolay Braetter
Apr 12 at 10:34
And didfind . -inum 93906511492624 -exec rm -ri ;
work better?
– HBruijn
Apr 12 at 10:59
root@debian:/var/mmstylo# find . -inum 93906511492624 -exec rm -ri ; rm: remove directory './Ð'$'302235''оваÑ'$'302217'' папка'? yes rm: cannot remove './Ð'$'302235''оваÑ'$'302217'' папка': No such file or directory
– Nicolay Braetter
Apr 12 at 13:32
add a comment |
You already have a couple of instances where the directory name is properly escaped and passed correctly to the rm
command but those result in an error message, for instance:
rm: cannot remove
'./Ð'$'302235''оваÑ'$'302217'' папка'
: Is a directory
The rm
command without any arguments won't remove directories. Try rmdir
or use the -r
argument for rm
You already have a couple of instances where the directory name is properly escaped and passed correctly to the rm
command but those result in an error message, for instance:
rm: cannot remove
'./Ð'$'302235''оваÑ'$'302217'' папка'
: Is a directory
The rm
command without any arguments won't remove directories. Try rmdir
or use the -r
argument for rm
answered Apr 12 at 8:36
HBruijnHBruijn
56.6k1190150
56.6k1190150
Thanks a Lot, but didn`t work. There is no such file or directory.
– Nicolay Braetter
Apr 12 at 10:31
root@debian:/var/mmstylo# rmdir './Ð'$'302235''оваÑ'$'302217'' папка' rmdir: failed to remove './Ð'$'302235''оваÑ'$'302217'' папка': No such file or directory
– Nicolay Braetter
Apr 12 at 10:34
And didfind . -inum 93906511492624 -exec rm -ri ;
work better?
– HBruijn
Apr 12 at 10:59
root@debian:/var/mmstylo# find . -inum 93906511492624 -exec rm -ri ; rm: remove directory './Ð'$'302235''оваÑ'$'302217'' папка'? yes rm: cannot remove './Ð'$'302235''оваÑ'$'302217'' папка': No such file or directory
– Nicolay Braetter
Apr 12 at 13:32
add a comment |
Thanks a Lot, but didn`t work. There is no such file or directory.
– Nicolay Braetter
Apr 12 at 10:31
root@debian:/var/mmstylo# rmdir './Ð'$'302235''оваÑ'$'302217'' папка' rmdir: failed to remove './Ð'$'302235''оваÑ'$'302217'' папка': No such file or directory
– Nicolay Braetter
Apr 12 at 10:34
And didfind . -inum 93906511492624 -exec rm -ri ;
work better?
– HBruijn
Apr 12 at 10:59
root@debian:/var/mmstylo# find . -inum 93906511492624 -exec rm -ri ; rm: remove directory './Ð'$'302235''оваÑ'$'302217'' папка'? yes rm: cannot remove './Ð'$'302235''оваÑ'$'302217'' папка': No such file or directory
– Nicolay Braetter
Apr 12 at 13:32
Thanks a Lot, but didn`t work. There is no such file or directory.
– Nicolay Braetter
Apr 12 at 10:31
Thanks a Lot, but didn`t work. There is no such file or directory.
– Nicolay Braetter
Apr 12 at 10:31
root@debian:/var/mmstylo# rmdir './Ð'$'302235''оваÑ'$'302217'' папка' rmdir: failed to remove './Ð'$'302235''оваÑ'$'302217'' папка': No such file or directory
– Nicolay Braetter
Apr 12 at 10:34
root@debian:/var/mmstylo# rmdir './Ð'$'302235''оваÑ'$'302217'' папка' rmdir: failed to remove './Ð'$'302235''оваÑ'$'302217'' папка': No such file or directory
– Nicolay Braetter
Apr 12 at 10:34
And did
find . -inum 93906511492624 -exec rm -ri ;
work better?– HBruijn
Apr 12 at 10:59
And did
find . -inum 93906511492624 -exec rm -ri ;
work better?– HBruijn
Apr 12 at 10:59
root@debian:/var/mmstylo# find . -inum 93906511492624 -exec rm -ri ; rm: remove directory './Ð'$'302235''оваÑ'$'302217'' папка'? yes rm: cannot remove './Ð'$'302235''оваÑ'$'302217'' папка': No such file or directory
– Nicolay Braetter
Apr 12 at 13:32
root@debian:/var/mmstylo# find . -inum 93906511492624 -exec rm -ri ; rm: remove directory './Ð'$'302235''оваÑ'$'302217'' папка'? yes rm: cannot remove './Ð'$'302235''оваÑ'$'302217'' папка': No such file or directory
– Nicolay Braetter
Apr 12 at 13:32
add a comment |
Nicolay Braetter is a new contributor. Be nice, and check out our Code of Conduct.
Nicolay Braetter is a new contributor. Be nice, and check out our Code of Conduct.
Nicolay Braetter is a new contributor. Be nice, and check out our Code of Conduct.
Nicolay Braetter is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Server Fault!
- 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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f962744%2flinux-file-system-folder-removal-with-special-charakters%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
1
You got several times
is a directory
.. meaning the directory was found. It was just not removed because you forgot the-r
parameter. Tryrm -r Ð*
again.– Gerald Schneider
Apr 12 at 8:25
root@debian:/var/mmstylo# rm -r Ð* rm: cannot remove 'Ð'$'302235''оваÑ'$'302217'' папка': No such file or directory
– Nicolay Braetter
Apr 12 at 10:33