General :: Remove Temporary Files?

Apr 11, 2010

me with proper syntax / command to remove temporary files in linux

View 9 Replies


Programming :: Can't Remove Temporary Files Using Bash Script?

Nov 9, 2010

However, the ffmpeg command generates a temporary file blahblah.mpg.tmp of about 1GB per hour of transcoded video.My issue is that I can't seem to delete these files automatically from any bash script.Now from the command line, I can cd to the directory and just rm -f *.tmp and they get deleted. However, from my script, that same command doesn't remove those files. I thought maybe the file was in use, so I put a sleep command in for like an hour before the delete happens, but it still fails. I also put rm -f /mnt/mythtv/*.tmp in a root cronjob and it still doesn't delete the files.

If I just rm *.tmp I do get a prompt about "Are you sure you want to delete this write protected file?". But the -f switch seems to work fine as a normal user from the command line and just delete them.Does anyone have an idea how to troubleshoot this problem? The particular filesystem that the tmp files get generated on is on it's own xfs partition mounted as /mnt/mythtv.

View 8 Replies View Related

CentOS 5 :: Remove Temporary Files Through Command Line?

Jan 16, 2010

Where exactly are the temporary files stored, in /tmp or /var/tmp. How can i remove temporary files through command line? What is the difference between these two directories?

View 2 Replies View Related

Ubuntu :: Finding A Cc Cleaner Equivalent To Clear-out Temporary Files / Internet Files / Etc?

May 23, 2011

Is there a cc cleaner equivalent for linux to clear out tmp, internet files, etc.?

View 9 Replies View Related

Ubuntu :: Where Is The Temporary Internet Files

Jan 29, 2011

Where is the Temporary Internet files?

View 2 Replies View Related

Software :: UNetBootin Temporary Files?

Feb 12, 2010

Where are the temporary files (.iso etc..) unetbootin downloads stored? Or are they stored at all?

View 1 Replies View Related

Ubuntu :: Locating Temporary Internet Files?

Jun 8, 2011

I'm new here and still searching how this forum works, but can anybody tell me where i can find the temporary internet files? In windows it was easy, but ubuntu 11.04 is totaly diferent. I use it now for 5 days and i'm happy i changed to ubuntu.

View 2 Replies View Related

OpenSUSE :: Disk Full With Temporary Files - System Goes Slower

Jan 24, 2010

I am using OpenSuse 11.2 (64 bits) with KDE 4.3.1. My hard disk partition contains 3 areas : / + /home + swap. Frequently the / area is filling with, I suppose, temporary files until it is full (15 Go) and that in a very short time, typically about 5 mn. Then, these files are cleaned by the system, when disk space is needed I suppose. The point is that during this time, the system goes slower and slower until the "cleaning". That seems to occur only when Firefox (3.5.6) is running so I suppose that these files are temporary internet files.

View 9 Replies View Related

Red Hat / Fedora :: .bin Extraction Error Unable To Create Temporary Files

Jul 12, 2011

It is saying to make sure there is enough room in the tmp folder, so I cleaned out the entire tmp folder but the same error is still happening. Is there a way to make the tmp folder bigger? Or perhaps extract the temporary files to a different folder? Or maybe the size if the tmp folder is not even the problem?

View 1 Replies View Related

Ubuntu :: Cache / Temporary Internet Files - Computer Starting To Slow Down

Mar 6, 2010

Where are temporary internet files stored so as that I can delete them. A second point is that I have had Ubuntu for a few months now and my computer is starting to slow down.

View 2 Replies View Related

Programming :: Load Flash Movies Directly From Any Source (no Temporary Files)

Dec 28, 2010

Flash Player ActiveX is always copying movie from I-net before playing it. Is it possible to load and play flash movies directly from any source without usage of temporary files to protect the movie from any other LOCAL outside access?

View 2 Replies View Related

General :: 451 DNS Temporary Failure

Feb 24, 2011

i just installed qmt.iso from site qmailtoaster.i can create domain on admin-toaster and add new account at domain.i have problem when i'm testing send email,there warning :"451 DNS temporary failure (#4.5.1 - chkuser)".

View 1 Replies View Related

General :: Remove Files Which Have A Certain Syntax

Jan 23, 2011

I have a couple of files which follow this syntax:





and delete the others. or maybe move them to a subdirectory to be safe...

View 2 Replies View Related

General :: Unable To Remove Files Using Rm -rf *?

Jun 22, 2010

Output of my terminal:

linuxx86:110$ rm -rf *
rm: cannot remove `dttscopeger.dir/.nfs00000000012821280000ec25': Device or resource busy
rm: cannot remove `dttscopeger.dir/.nfs00000000015561050000ec26': Device or resource busy


View 6 Replies View Related

General :: Remove Directories That Only Contain .txt And .log Files?

Aug 8, 2010

I'd like to remove all directories of a certain depth that don't contain .txt or .log files -- is this possible? So far I have: find ~ -mindepth 3 -maxdepth 4 -type d -exec rm -r '{}' ; Is it possible to add in "only if the directory doesn't contain .txt and/or .log files"? Or do I have to start learning perl to do that?

For example:
dir 1:
dir 2:

View 13 Replies View Related

General :: Yum Configuration - 'Temporary Failure In Name Resolution'

Mar 30, 2010

i have downloaded the pidgin.repo file from the web and copied in /etc/yum.repos.d. and i simply start the yum-updatesd service. When i fire the command yum install pidgin, it gives some name resolution problem. i am accessing net through proxy server.RHEL 5 is my distro. This is what the error msg i am getting.


View 5 Replies View Related

General :: How To Remove All Files That Created N Minutes Ago

Mar 4, 2010

I guess in most cases when extracting a tar achive ,we will get a directory with the same name as the archive file but different suffix. but in some unlucky case, as I met today, after extract a tar bar I find lots of files spread in the working directory, which is really what I want to learn from you is that how can I move thoes newly created files ? I know it should be some "find plus rm" fancy approch there, but I don't know exactly how.

View 3 Replies View Related

General :: Remove All The Files Which Has A String In A File?

May 8, 2010

I am trying to remove all the files in a directory hierarchy which a certain string inside the file (not the file name, it is the file content).

I can list out all the file name which has a string in the file using 'grep -r -l mystringlooking for'.

But how can I remove all the files returned by the grep ? I am trying this on ubuntu.

View 1 Replies View Related

General :: Remove Files In Remote Host Using Ssh?

May 25, 2011

I need to delete all files inside remote directory using ssh P.S. The directory must not be deleted, so @Wes answer is not what I need. If it would be local dir, I would run "rm -rf dir/*"

View 4 Replies View Related

General :: Remove Files That Contain A Specific String?

Feb 17, 2010

How can you remove files containing a specific string?I have...Code:find |grep 'string'This may return several results and I wanted to rm the results.I also have...Code:ls -l |grep 'string'|awk '{print $9}'which also may return results.But point is, I can't supply the results as a parameter to rmI was thinking of looping but I don't know how to access the results as if they were an array or something.

View 5 Replies View Related

General :: Remove Duplicate Files From Two Folders?

Aug 19, 2010

I have two folders - Folder abc and Folder xyz which contains 1000's of files with few of them having the same file names. How can I remove the duplicates from Folder abc?

View 14 Replies View Related

General :: Remove Files In All Directories Owned?

Jan 8, 2010

Is there a way to do the rm command where I can remove files by owner. I run the standard ls -al command and I want to be able to remove the files that are owned by me in that current directory. One other step how can I remove files in all directories owned by me. I did the google search first guys and a majority of the pages just dealt with the basics like rm -r

View 5 Replies View Related

General :: Does The Gnome Desktop Use Gksu For Temporary Root

Sep 13, 2009

Like in the kde desktop there is; "kdesu" for temporary root, such as to open a text to edit. So then does the gnome desktop use "gksu" for it's temporary root ? I now refer to a Fedora 11 install. And how can I change a utility tool to open up as a regular user, (not just only as root) ?

View 2 Replies View Related

General :: Remove Extra Characters From Multiple Files

Sep 18, 2011

I have a directory (Linux user) with a number of files which contain an added [!] to the end of each file name so that each file reads out as:
foo something [!].zip
bar something [!].zip
helloworld [!].zip
What is the quickest way to batch rename these to remove the ending [!] character combination from these file names?

View 2 Replies View Related

General :: Change Attributes Or Remove Files With The E Attribute Set

Jul 6, 2011

I have a bunch of files on a usb stick that have just the e attribute set. So I can't chattr them, rm -f fails and chmod fails, all whether as user or root. How can I get rid of the e attribute? Failing that, how can I get rid of the files?

View 3 Replies View Related

General :: Remove Software That Views Image Files?

Jun 22, 2011

I am considering removing all programs and software that handle images so that you cannot view images on the computer and .jpeg would be an unrecognizable file. It's impossible to remove the program that views images in Windows since Explorer is that program - a central Windows component, but I wonder if it is possible to use an alternative operating system like linux and remove the programs that handle images without affecting the system.

I need to do this because of the following problem. I had an internet filter installed but it became useless once certain proxy/circumventor sites such as were discovered, which allowed access to any website on the internet. Blocking proxy sites does not work because you can type "https" at the beginning of some of these web addresses and the internet filter cannot keep track of the secure browsing

View 12 Replies View Related

General :: Cron To Remove All Files Within Directory Except One File?

Jun 28, 2010

I would like to create a cronjob that will delete all files within a directory 1 hours after it is created to the folderI found this cron find /path/to/file/* -ctime +1 -exec rm {} ; but it's deleted all files.I want to make an exception, all file should be deleted except one file (letsay file

View 16 Replies View Related

General :: Remove Multiple Photorec Files (recup_dir.)?

Jan 13, 2010

I was doing some data recovery with Photorec and by the time I was done I have over 700 folders (recup_dir.).The only solution I was able to apply was the one posted by pljvaldez on this site dated 04-09-08, 09:01 AM. After doing the same thing for at least 70 times I decided to ask, so, is there anyone that knows how to delete multiple folders at the same time.

View 2 Replies View Related

General :: NTFS Mounts But Can't Remove Files/directories?

Feb 9, 2011

this is my first post and I am not sure if this belongs here or in hardware.Now for the main post!

Dell Demension 4400
Intel(R) Pentium(R) 4 CPU 1.60GHz, 1 cores


View 4 Replies View Related

General :: Remove Root Files From Home Folder?

Mar 30, 2010

i tried to run lame install. on debian lenny amd64.

sudo sh /home/levi/Desktop/lame-3.98.4/

it returned errors, and i gave up on that. but it has placed a bunch of files and directories in my home folder(not in Desktop)which are owned by root. how may i delete them?

folders are


mv: cannot move ..... to ... No such file or directory. which i at least FEEL is certainly not the case.

View 3 Replies View Related

Copyrights 2005-15, All rights reserved