From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NN2ne-0001pS-Gw for garchives@archives.gentoo.org; Tue, 22 Dec 2009 11:21:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 62A55E068E; Tue, 22 Dec 2009 11:20:49 +0000 (UTC) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by pigeon.gentoo.org (Postfix) with SMTP id D3630E068E for ; Tue, 22 Dec 2009 11:20:48 +0000 (UTC) Received: (qmail invoked by alias); 22 Dec 2009 11:20:47 -0000 Received: from mail.abi-informatic.ch (EHLO [192.168.16.155]) [62.2.243.36] by mail.gmx.net (mp072) with SMTP; 22 Dec 2009 12:20:47 +0100 X-Authenticated: #1867879 X-Provags-ID: V01U2FsdGVkX189E4J5+nc906KT40wLuHUz1wHyRTpRKseFFnJpwc HAJYviQNxiWUqp Message-ID: <4B30AB8E.7000903@gmx.ch> Date: Tue, 22 Dec 2009 12:20:46 +0100 From: =?UTF-8?B?Q2hyaXN0aWFuIEvDtm5pdHplcg==?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Writing a bash script or thinking about it anyway. References: <4B303B5D.2060400@gmail.com> <6155bd0861f00c277e49c2b0b8028c17@localhost> In-Reply-To: <6155bd0861f00c277e49c2b0b8028c17@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed X-Y-GMX-Trusted: 0 X-FuHaFi: 0.66 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 15f21ead-4f97-45ca-91fe-d1ee3668bc44 X-Archives-Hash: bf54db19a66bf69deb753c37fccdb058 I agree with Jes=C3=BAs but recommend you to use rsync for backup purpose= . Simple google for rsync backup script. And this link explains why: http://www.sanitarium.net/golug/rsync_backups.html There are a lot backup scripts using rsync out there and most of them=20 are written in bash so it's anyway a good idea to learn a bit bash ;) Am 22.12.2009 11:34, schrieb Jes=C3=BAs Guerrero: > On Mon, 21 Dec 2009 21:22:05 -0600, Dale wrote: > =20 >> Hi folks, >> >> Me again. I'm thinking about writing a bash script that backs up my >> /home directory. I found a guide but before I read all that stuff and >> muddy up the waters, is this thing current and will it work fine with >> the bash Gentoo uses? Links to a even better guide would be good too. >> The guide I found is here: >> >> http://tldp.org/LDP/abs/html/ >> =20 > The advanced bash scripting guide will be equally valid nowadays as it = was > when it was first written. A few minor edges have changed in bash in th= e > latest times, but you are unlikely to get touched by these unless you a= re > using some rare feature. After all, bash is compatible with the origina= l > bourne shell to a big extent, and that part of its behavior never chang= es. > > If you truly want to learn bash, I say go for it and come back when/if = you > have some problem. > > =20