Somehow I managed to create a file in /some/dir/ called "-v". How can I remove it? I've tried various and many methods... rm, rm *v, moving all files except that one and then issuing rm -rf but the problem is the -v file is being taken for a switch.
I am not able to delete any file. I am seeing following error when i am trying to delete. "The trash has reached its maximum size! Cleanup the trash manually.".
But Trash is already empty and the file i am trying to delete is only 28bytes. the folders '~/.local/share/Trash/files' and '~/.local/share/Trash/info' are also empty and there permissions are also correct. file manager is dolphin.
i saw this problem happening after firefox crashed.
I found a file ~/.local/share/Trash/metadata with following content- [Cached] Size=18446744068999530549
My problem is with a file that I can't delete, or move for that matter.
My dad was just randomly saving pictures and deiced he wanted to trash it. I don't know what he did, but in no longer has a file name, just the extension jpeg. Now I tried to right click it and move to the trash, but that option isn't highlighted, same for the rename. When I try to move it, it says the file does not exist. Here is what is says exactly:
Error stating file '/home/ashley/Desktop/Ed/dads files/TV Shows/isis (joanna cameron)/jpeg': No such file or directory
I have a problem deleting a certian file from a NTFS format 1TB USB HDD.
I attempted to MOVE the file (x.avi) to another directory on the same drive. On the MOVE process I accidently cancelled it. I then COPIED the file to another directory, this copied fine so i just need to delete the original x.avi.note; when I now attempt to move the original x.avi I get an error message: "Error while moving "x.avi". There was an error moving the file into /media/1TB/Movies. More details: Error moving file: Numerical result out of range. (I'm assuming a corrupted file)?
Lastly, every time i attempt to delete x.avi, it puts the file in the wastebasket but doesnt delete it; Every delete attempt makes a new file in the wastebasket (e.g. x, x.1, x.2, x.3, x.5 etc etc).
All other files/folders are fine its just this 1 folder/file.
I was doing a big backup system this morning (in Ubuntu 10.10) which was taking some time, when there was an urgent task I needed to see to, so I rashly stopped the backup with CTRL-C. Later I found that this left the recipient directory with an input-output problem, so I could not delete the truncated backup file (or any other file in the directory). I tried all sorts of chmod procedures etc., including using the usually very successful RESCUE CD from a USB pen, but nothing seemed to cure the input-output problem.
In the end, in desperation, I copied all the other files into a new directory, and then deleted the original directory from Windows 7. (I use a multiple boot system.) Windows obviously does not observe the same permissions as Linux, and it obeyed without demure! So all is now well.
I am running the latest version of Ubuntu (Ubuntu 11.04) which i setup as a dual boot OS with Windows XP SP3. I was listening to my MP3s using the Banshee music player on Ubuntu. My MP3s reside on an NTFS drive (which I mounted in Ubuntu to hear the MP3s). Via the Banshee player I deleted all songs from a particular folder and thought nothing of it until I later booted into Windows.
I saw the folder that had the songs I had deleted the songs and and thought I'd delete the folder as well except that I couldn't. It said the file might be corrupted. I logged backed into Ubuntu (Windows XP was shutdown not hibernated as I remember hearing that on Hibernating, you can't properly delete/copy files on Windows partitions). In Ubuntu too, I wasn't able to delete this folder - either via the Folder explorer or via terminal. I see a file named ".fuse_hidden0000041b00000017" along with some other files I had deleted (in Turquoise colour). I didn't see any posts in this forum with a help on resolving this issue
I have a folder "scratchbox" created by a user "hari" (which is cross-compilation toolkit, and creates soft-links if it might ). Now I deleted the user "hari" by using userdel command. I didn't uninstall scratchbox from "hari" account. Now even when i login by root, i am unable to remove the "scratchbox" folder.
I'm rather new to Fedora server, but I'm attempting to run a music FTP server, where anonymous users can submit songs into one particular folder (so i can personally tag them), while other user accounts have full read-write. Here we go: I 2 directories, /music and /untagged
I want anonymous users to be able to read both directories, but only be able to upload to /untagged, and not be able to delete anything. I want users that I select to have full read-write-create-delete privileges. how would I go about this with vsftpd?
I recently bought a cowon S9 mp3 player because of its capabilities of playing ogg music files. I decided I wanted to remove some music files to replace with others bur after supposedly deleting them I found that there was 10gb still in use. After opening the folder for the cowon s9 and viewing the hidden files I found a "Trash 500" folder with the songs I thought I had deleted. The problem now is I can't delete this folder, even if I open the folder as root, it doesn't allow me to delete the unwanted files.
Why is there no Delete when I right click like there is with Windows in ubuntu? Pretty much everything else is there like new folder and so on Is there some way to add it? Also why when i delete something does it not ask me if I am sure that i want to delete that file?
I was transferring some files from my laptop (running FC6) to a server at my work (don't know what kind) with "scp -rpC" and it stalled, don't know why. Now when I try to delete the files from the server so I can start again I get the following error message
I am using F14 Xfce and i have installed awn so i do not need my desktop icons anymore, ie home,bin and file system, is there any way to delete/remove them? i have installed gconf-editor and unchecked them in apps-->nautilus-->desktop, but they are still there?
Many folders within a subdirectory some of which have lots of data in and some of which have only one specific file called produkt.fil inside.I need a command to find and delete those folders that contain ONLY the file produkt.fil - if other files exist (doesnt matter what they are) then they should be left alone. Note: produkt.fil exists in all of the folders always.
When I ls -l /etc/passwd, -rw-r--r-- 1 root root /etc/passwd When I login as myself, and rm /etc/passwd, it asks: rm: remove write-protected file '/etc/passwd'? If I say yes, will it actually delete the passwd file?
Recently I setup a system for a non-technical user. He is only using Firefox, Pidgin and OpenOffice for about 2 hours a day. I have created a folder "/home/jim/myFiles" where he can save his document files. But Jim has accidentally deleted his myFiles folder on 2 occasions. He had intended to delete a file in that folder. Is there a way to lock the folder so that the user and create/read/write documents in that folder but not delete the folder itself?
I am using Ubuntu 10.04. I have a small HDD and I noticed that the weight of the folder .Trash-0/lost+found on my computer was of 2.6 gb.
I tried to delete the files in this folder, but it seems impossible. Even with using sudo I can't delete them because I am not authorized to do so. The files in the folder are quite weird, there are folder and files named like this: #7614692, #7613635 etc. Their groups and their users are also quite weird: -1933023744, 1624453254... Even from a live cd it is not possible to delete them. Also the date of the files is ****ed up, example:
- last access: "mar. 13 juil. 1943 15:26:11 CEST" - last modification: "mer. 12 oct. 2022 15:59:51 CEST"
I recently upgraded this partition from ext3 to ext4, so I would guess that it comes from here. But I don't know if these files where there before or not.
i need to get rid of Ubuntu from my laptop but will be putting it back on my main computer. I've followed guides and it showed that you go into computer management and right click on the Ubuntu partition and delete it, but i can't do this. This is what my screen looks like -
When i right click the first partition, all it comes up with is 'Help' and not delete.
Im trying to run a program but my system won't let me.i used to be able to run executable files without a problem but i can't anymore when i double click the file i get "there is no application installed for executable files" i am unable to check "allow executing file as program" in file properties there is a script file which runs the program but all i get from the terminal is "permission denied"
I used imagewriter to create an iso for an os. I now want to remove the files that where created from this process but they are locked. I have tried to reformat the drive using partitioner but 2 USB drives show in dolphin after this process and the files still remain.