[05:30] <LostSoul_> Hello
[05:38] <bray90820> I have a small script here that looks for the oldest timestamp on a directory and removes it
[05:38] <bray90820> Is there a way i could have it exclude the folder CURRENT from the rm
[05:38] <bray90820> http://pastebin.com/raw/5daxVebB
[05:42] <bray90820> Maybe add [[ $f != CURRENT ]] somewhere
[05:53] <RoyK> yourscript /path/to/dirs/* # just remove the oldest - shouldn't be rocket science
[05:55] <bray90820> RoyK: : what do you mean?
[05:55] <bray90820> Do you mean do it manually?
[05:56] <RoyK> what sort of dirs are these? old logs or something?
[05:57] <bray90820> They are backups of my home server
[05:58] <RoyK> there are things like dirvish (and possibly more updated software) that can keep a bunch of versions at the same time without much disk use, with the use of hardlinks
[05:58] <RoyK> dirvish is old, but it still works very well
[05:59] <RoyK> perhaps try that instead
[06:00] <bray90820> RoyK: I am one step ahead of you I already have some stuff in my script to make hard links
[06:00] <RoyK> why not use dirvish?
[06:00] <RoyK> or fix whatever you find broken?
[06:00] <RoyK> it's been around for years and I've used it for 20+TB worth of fileservers
[06:01] <bray90820> Are you making system images?
[06:02] <LostSoul_> I've noticed recenty problem with network on my Ubuntu 14.03
[06:02] <LostSoul_> Thing is I reinstlalled system, used same config for interfaces as it had before and .. it not reachable from time to time
[06:02] <LostSoul_> Like I can be connected via ssh to machine and boom it hangs
[06:03] <LostSoul_> When I type ifdown + ifup console backs and machine is reachable again
[06:03] <RoyK> bray90820: no - it's file backup - best way to do it imho
[06:03] <LostSoul_> Most of the time (or at least when I noticed it) - machine is able to ping to outside world
[06:03] <LostSoul_> Any suggestion? As I'm rather weak if it comes to networks
[06:04] <RoyK> LostSoul_: I've never been comfortable with restarting ubuntu networking - I usually just reboot the PoS - that works
[06:07] <bray90820> RoyK: I like to have more control of my data so I think I'll stick to the script I am currently working on
[06:08] <RoyK> bray90820: well, dirvish is just perl - not too hard to read ;)
[06:08] <bray90820> It is when you have never worked with perl :P
[06:08] <RoyK> but reinvent the wheel - go on - it'll probably be rounder :)
[06:09] <bray90820> What do you mean by rounder :P
[06:09] <RoyK> I mean it's no point of reinventing the wheel
[06:10] <RoyK> better take a too that works and fix whatever doesn't work for you
[06:10] <RoyK> I doubt dirvish and similar software won't work for you, really
[06:10] <RoyK> and perl isn't really that hard to read
[06:10] <bray90820> I have tried a few thing like grsync and dejadup that don'y work
[06:12] <RoyK> dirvish.pl is less than 1k lines
[06:13] <bray90820> Well my script is prob gonna be less then 100 lines
[06:13] <RoyK> and it works - beleive me
[06:13] <RoyK> well, you're own your own
[06:24] <LostSoul_> RoyK: PoS?
[06:26] <RoyK> just reboot the thing, ok?
[07:18] <LostSoul_> RoyK: Ok :)
[08:00] <LostSoul_> Damn, I've done upgrade as I've read about fixes and now I can't boot in
[08:01] <LostSoul_> I've tried to reinstall grub, but I'm getting: grub-install error cannot find efi directory
[09:02] <lordievader> Good morning.
[09:15] <LostSoul_> Hello
[09:15] <LostSoul_> Any idea how to fix it?
[09:16] <LostSoul_> http://askubuntu.com/questions/53578/can-i-install-in-uefi-mode-with-the-alternate-installer/57380#57380 - this one is not working
[20:26] <tiblock> Hi. I have cluster of 10 servers and when i want update some file on all of them i need do it manually. Is there some software to synchronize files automaticaly? `rsync` is not good, he wants SSH password of master server and then if somebody get that password he can read our files or exploit system.
[20:27] <bekks> Then use SSH keys for authentication, instead of passwords.
[20:28] <bekks> thats the most secure approach.
[20:29] <tiblock> bekks, but still, if somebody will get that key he can login into SSH and read/write sime files where chmod is 0777
[20:29] <tiblock> *some files
[20:30] <bekks> Then you have to take measures against that. You could even use password protected ssh keys.