From owner-freebsd-doc Wed Jun 14 10: 9:51 2000 Delivered-To: freebsd-doc@freebsd.org Received: from hotmail.com (f39.law4.hotmail.com [216.33.149.39]) by hub.freebsd.org (Postfix) with SMTP id 60FB037B9D9 for ; Wed, 14 Jun 2000 10:09:48 -0700 (PDT) (envelope-from kashif4me@hotmail.com) Received: (qmail 26109 invoked by uid 0); 14 Jun 2000 17:09:47 -0000 Message-ID: <20000614170947.26108.qmail@hotmail.com> Cc: recipient list not shown: ; Received: from 193.113.185.133 by www.hotmail.com with HTTP; Wed, 14 Jun 2000 10:09:47 PDT X-Originating-IP: [193.113.185.133] Reply-To: kashif@kashifsiddiqui.net From: "kashif siddiqui" Subject: shell script Date: Wed, 14 Jun 2000 17:09:47 GMT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org i need help with a little program i am working on to make a incrimantel backup using shell script. i am trying to make a backup directory which is normally a subdirectory of the users home directory (eg. ~/backups). If a file (eg. sfile.txt) from the source directory already exists in the backup directory, then it must be renamed (sfile.txt.1) before the newer version is copied. This allows multiple versions of a file to be saved. However, multiple versions of subdirectories should not be created. i will be helpfull to you if you help me with this. if u could write a small program a prototype so that i can get help with. thanking you in anticipation. ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message