Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2013 14:34:11 +0200
From:      Leslie Jensen <>
To:        FreeBSD Questions <>
Subject:   Delete files with time stamp on Samba Server
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help

I have a remote Samba Server where Windows machines place backup files 
once a day. The format is

Before the Windows client places the file it removes the file from the 
day before.

In turn I do a backup of the backup files once every week(Friday) to 
another directory.

This directory will eventually fill up and I need to make a check and 
remove the oldest file maybe once a week before the new file is copied, 
or put in other words I never want more than 4 files to be in this 

My scripting skills are not at the level where I can figure this out, so 
I'll appreciate suggestions on how to solve this in the correct way.

Thanks :-)


Want to link to this message? Use this URL: <>