Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Deleting Old Files in a DB.

by mandog (Curate)
on Oct 09, 2003 at 00:51 UTC ( #297780=note: print w/ replies, xml ) Need Help??

in reply to Deleting Old Files in a DB.

Greetings Anonymous Monk

Your question is a bit vague...

What do you mean by "file" and "database" ?

On most UNIX machines you can delete files that are londer than a certain time w/ something like:

find /tmp -type f -mtime +20 | xargs rm

On MS windows you can use the find command to locate files older than a certain time & then select them and delete them.

Comment on Re: Deleting Old Files in a DB.
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://297780]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2015-11-29 03:39 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (746 votes), past polls