Skip to content

notes to self

a document of a plodding mind

Menu
Menu

I found the F (-mtime +3)!

Posted on July 20, 2010 by abram

forgetting is the bane of my existence. don’t ask why. i’ve forgotten this syntax enough times that i should have it tattooed on my upper arm. in fact, I think i’ve posted it on my own site before and forgotten about that.

find /path/to/files* -mtime +5 -exec rm {} \;

the first argument is, of course, the path to the files that you’re looking to rid yourself. The first flag, -mtime, tells find to look for files older than a certain number of days. the whole “+5” would indicate five days from today (would -5 be five days in the future then? something to look up later). The second flag, -exec, will tell find to execute the following command when it gets a positive result. in this case, we’re “removing” (rm

Leave a Reply Cancel reply

You must be logged in to post a comment.

about

Abram Morphew is an electrical engineer, bedroom musician, composer, naturalist, and amateur scientist. I play music in the the binary marketing show. This blog is a catalog of stuff that I make or bits of information that I think could prove useful later on when memory fails me.

 

I currently hold an Extra Class Amateur Radio Operator license and transmit on the air as K2NXF.

Tags

40m amp amplifier Arduino atmega328 atmel audio bash bjt breadboard circuit code cw delay digital effect effects electrical electronics homebrew lfo linux LM386 mellotronium music no. 5 opamp oscillator pcb pedal photos php pt2399 pwm radio rf schematic stereo stompbox synth tape TDA2040 tl072 TL082 tube

Social

  • Instagram
  • LinkedIn

Space Weather


© 2026 notes to self | Powered by Minimalist Blog WordPress Theme