Jump to content

Old file shell script

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
6 replies to this topic

#1
Ronin

Ronin

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 309 posts
I need a shell script that deletes files older than 7 days. Anyone know how this can be done in bash?

#2
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Umm then what about files of Windows?

#3
Guest_Jordan_*

Guest_Jordan_*
  • Guests
What do you mean Tcm?

I've got a script somewhere that does this Ronin. I'll post it in the tutorial/codes section later today.

#4
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Hmm sorry my bad! I was seeing another site while reading this and I think that I confused things lol!

#5
Guest_NeedHelp_*

Guest_NeedHelp_*
  • Guests
I do that sometimes. I read to much at once often.

#6
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Yeah lol! I usually have like 3 to 5 web browsers open and first I read a little fro that and then continue on another one and well I end up confusing things!

#7
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Just created one for you here:
http://forum.codecal...s.html#post5722