I did indeed look into logrotate, but couldn't find any mention of using it on something other than log files, guess it is the same in principle, just point it at the directory with the files in.
...
Type: Posts; User: moorsey; Keyword(s):
I did indeed look into logrotate, but couldn't find any mention of using it on something other than log files, guess it is the same in principle, just point it at the directory with the files in.
...
wow, great, thanks for all the tips, apologies for not getting back here sooner.
I did find another alternative, one liner, that seems to work:
ls -t * | awk 'NR>2 {system("rm \"" $0 "\"")}'...
ah interesting, my apologies.
I get the following output:
ls is aliased to `ls --color=auto'
many thanks
that just lists the first 3, not from 3 onwards
the -n +3 works fine and outputs correctly, but when passed to rm, it does nothing
Hi all,
I am trying to write a little script that removes the oldest backups, keeping just the latest 2. This is what I have:
ls -t | tail -n +3 | xargs rm -f
I have checked each bit by bit...
Thanks for the replies guys.
Yes, you are both quite right and I have logged a ticket with the IT guys to try and get this turned back on. I am just preparing for the worst and looking at...
thought I would clarify this.
POP3 is now not an issue, as the forwarding from the new Outlook Web service works well.
What I cannot do anymore is log into my gmail, select my organisations...
Well, this has come back to haunt me.
SMTP has been back on since after I posted this, but this week, it's gone off again, maybe for good this time.
Any tips on getting this setup appreciated
...
bummer, SMTP has now been turned off, so I really need to do something, to save my sanity.
Gmail can do spoof sending still, but everyone gets the "sent on behalf of" message, as it is really from...
Hi all,
I have no idea if something like this is possible, but thought it was worth asking.
An organisation I volunteer for decided to turn off POP3 and possibly SMTP access to emails this...
ahhh, I think I now understand.
I (stupidly) thought that only one postfix install was required.
I will give this a try when I am back home next week, thanks for your help
Hi, thanks for the reply.
It would mainly be for cron emails, I run Zoneminder and Mythtv on their own boxes, so have various backups etc running. One server runs Webmin and Mysql however, in...
All,
This may be obvious, or something I have overlooked, but can't find the info anywhere.
I setup a postfix install on one of my machines at the weekend, quite impressed that I managed it OK....
I've been battling this with my Win 7 machine and 3 Ubuntu machines. This happens randomly where the Ubuntu machines cannot see Windows shares. I find a reboot of the Win machine fixes it most...
odd indeed. I just clicked on the drive from "Places", no messages, nothing forced etc. Unless it is a Windows 7 "thing"?
Hi all, just wanted to post back my findings
When a Windows 7 machine in hibernated, Ubuntu 10.10 cannot properly write to the NTFS partition that Windows is on.
It goes through without issue...
Thanks for all the replies, had another mess with this yesterday, saving another video from kdenlive, all but vanished when coming into Windows.
Nope, nothing special about the names, a point...
thanks for that, will give it a test over the weekend. Wanted to make sure I wasn't missing anything with known issues with compatibility between Ubuntu and NTFS. Will report back
Not sure if I am doing this correctly, just the obvious way I guess. I have dual boot with Ubuntu 10.10 and Win7 x64. They are on their own partitions, Windows on NTFS and Ubuntu on ext4.
Every...
Hey folks,
Have been using DVD Lab Pro to make multi-angle DVDs, but it is massively unreliable, so I am looking for an alternative.
Am using kdenlive to create videos etc, so a linux based...
Both, see below screenshot
http://img716.imageshack.us/img716/1713/imag0319m.th.jpg
I have my 2 drives connected to the Marvell SATA3 ports, so GSATA 6_7 needs to be set to AHCI and the drives...
have you got AHCI enabled?
Mine "just works" with a RAID1 volume and AHCI enabled
just wanted to add thanks to this post, got me up and running last night on my LIDE 110
I find the Windows software pretty annoying, so just use a dual boot or Virtual Machine to run the scanner...
Ray,
Yes, for Ubuntu to work, just change your SATA ports to AHCI in the BIOS and reboot, works a treat.
If you have an existing Windows installation, then Windows will not boot after this...
I know this thread is years old, but wanted to add my thanks for the information here.
Have been backing up all my linux boxes with this for a few years, only ever had to restore the odd file, but...