Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 13th August 2008
cwhitmore cwhitmore is offline
Port Guard
Join Date: May 2008
Posts: 27
Default Dump dates wrong?

I need to clean out my /mnt/backup folder so it doesn't fill up with dump files. I was going to run something like this:
find /path/to/files -mtime +30 -exec rm {} \;

but, when I did an ls -la for the files they all had very old dates like Jan 2, 1980. How can I get the file date to match the current date for dump?
Reply With Quote
  #2   (View Single Post)  
Old 15th August 2008
corey_james corey_james is offline
Uber Geek
Join Date: Apr 2008
Location: Brisbane, Australia
Posts: 238

You are removing files that have a modification date greater than 30 days. What are you talking about the current date?

Do you want to removes everything that's been modified today ?
"No, that's wrong, Cartman. But don't worry, there are no stupid answers, just stupid people." -- Mr. Garrison

Forum Netiquette
Reply With Quote
  #3   (View Single Post)  
Old 17th August 2008
cwhitmore cwhitmore is offline
Port Guard
Join Date: May 2008
Posts: 27

My fault. I didn't check the date on the SnapServer. It all works now.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mc core dump in root sheriff26 FreeBSD General 4 21st June 2008 07:56 PM
nvidia wrong hex setting for raid 5? cysn06 FreeBSD General 0 17th June 2008 02:20 AM
Howto fix problems on X with resolution wrong aleunix Guides 1 2nd June 2008 03:33 PM
adding new disk -> wrong node? knasbas OpenBSD General 6 23rd May 2008 03:10 AM
backing up via 'dump'... Damien787 FreeBSD General 5 8th May 2008 01:05 AM

All times are GMT. The time now is 04:29 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick