I would like to delete some files stored in the personal directory, say .adobe, .macromedia, .xsession-errors, on every start-up or shutting down. I can do it with cron but I would like to learn different (simpler) options. The thing is, I haven't been able to input the proper terms in a search engine. Note that these files must exist in their default location during the session. This is, I don't want to make them links to /dev/null or move them to /tmp.
How can I automate the following: When I insert a flash drive into any of the available USB ports, some kind of script or software, must automatically mount it, delete everything off the flash drive, copy an audio file back to it and then automatically unmount the USB.Maybe I should setup some kind of Kiosk to use the above functionality - would that be easy?
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'm looking to make a script that will do the following;
yum update -y cd /home wget [URL] sh latest (install various scripts like ConfigServer series, ClamAV) edit settings in files delete any downloaded archives (clean up) reboot/delete self
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?
In Windows when you delete a file, it really isn't gone.Have to have special software to actually wipe it.what programs in Linux/Ubuntu are along same lines.secure delete a file, secure empty trash, clean the hard drive unused areas (where files once were).Are they in package manager, synaptics or on the web?Update. I took the new Ubuntu system with me on road trip this weekend as a trial.Wireless network connection is from across street. Connected just fine.Hook Nikon camera in to D/L pics, "saw" camera immediatelyForgot cell phone charger at home. Used the USB cable. "saw" phone immediately and phone said charging.So, so far all is well just some things are done a little differently than windows!
I put a MicroSD card in to a card reader, it's from a Nokia mobile phone, and then plugged that in to the USB port.For some reason I can't delete certain files. I am assuming my phone has some kind of virus.Ubuntu refuses to let me access, modify or delete the files that are in the music folder but clearly not music files.
So I tried to open the folder with Wine to try and delete it the windows way (I have no idea if that was even supposed to work) and I get an error message that says 'File not Found' in a typical windows error display box.Now I am having the exact same problem trying to open my home folder from the places menu. The same error pops up.All I want to do is clear a MicroSD card and put new music on it.Also, I am the only user on this computer, and I have administrator privileges, and I cannot access the root folder or the lost-found folder.
I used external hard drive to keep my back up and my machine stored same file in media folder of my machine which occupies all my hard disk space. Now I wanted to delete it but I could not delete it. How can I delete it to free up the space
we assume that we have 2 folders with the name 1 and 2 . The folder 2 is inside 1 . Also, in folder 2 we have file with name "file.txt". And we are in folder 1 . How can we delete the file.txt in one command line ? I mean without using the code below:
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
Ok i'm runnign ubuntu using the live CD i already have ubuntu installed on my computer but it wont boot. I'm trying to delete the file causing the problem. SO is there a way to delete a file that is in the ubuntu installed on my computer from the ubuntu on the livecd?if that doesnt make sense how can i delete a file in my ubuntu w/o actually being in ubuntu?
I have moved all files from one hard drive to another but one file remains that I cannot move, delete or rename.
From a fresh boot, nothing nefarious running in the background...
Using Nauitilus, find a file called: .goutputstream-59R62U
It appears to be a 1.5Gb MPEG file. I can click on it and it plays in MoviePlayer. I can drag it into VLC and it plays normally. But I can't move it, delete it or rename it and I can't do the same to its parent directory or the parent of that directory.
Running sudo nautilus from Terminal it doesn't appear at all.
Running Gnome Commander it doesn't show up either. When trying to delete its parent directory (with permissions set to rwxrwxrwx) I get the following error:
/root/.local/share/Trash/files/I have a tar backup file in there and can't get rid of it. I've tried from root with Nautilus, the files disappear for a couple of seconds and then reappear.
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 been looking around for a, "start new thread" button but cant seem to find it (which is my first question). My real question is, how do I delete a word in a vim file from the editor command? What I want to do is go to a specific line (36) and delete 3 words after my cursor
i.e :36 | 3dw
error: "3dw" is not a command. Ive tried ":d" this deletes teh whole line which is not what I want.
after so many times deleting staff for mistake.I am unable to get it back from my external hard drive.I use Ubuntu 8.04 LTS and I have all my staff on external hardrive.
Quote:
Z:----> Media -----> FreeAgent Drive
After delete I knew was her
Quote:
/acousticmetal[1]/
, I did all the search I can possible think of.and i dint have any good look can any one please help me out on this issue?.
i wanna ask on how to delete a file or a certain file in linux by using php or in other word by using web browser. example i want to delete the file inside /var/www/cgi-bin/ with browser.
I was creating a few scripts, I am trying to create a restore script to restore files that have previously been moved to a folder I selected. When moved I stored the original path for these files all in one text file.
I want to know if anyone can tell me how to delete the line from the file after using it restore the file. I have used the grep command to search through the file "pathName" to find where the file was stored but now want to delete that same line.
I am facing a basic problem in RHEL 5.2. Some of files in a mounted showing ? in place of owner and group owner. root# find /data/abc -nouser listing those files. How to delete those files because root# find /data/abc -nouser -exec rm -rf {} ; showing error access is denied.
i've been using php/fwrite to add text to a file using the below code but how do i remove text from a file? note that i don't know what line it's on as there will be other content in the file.