From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 25 Nov 2005 13:22:59 +0300 From: Damir Shayhutdinov To: ALT Linux Community Subject: Re: [Comm] =?koi8-r?B?1dDBy8/Xy8EgxsHKzM/X?= =?koi8-r?B?IMvPztPPzNjO2c0=?= rar Message-ID: <20051125102259.GB2870@damir.rnd.local> References: <20051125094702.GA2870@damir.rnd.local> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Operating-System: ALT Linux Master 2.4 (Citron) X-OriginalArrivalTime: 25 Nov 2005 10:22:41.0906 (UTC) FILETIME=[2B0EED20:01C5F1AA] X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Community List-Id: ALT Linux Community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2005 10:22:57 -0000 Archived-At: List-Archive: List-Post: On Fri, Nov 25, 2005 at 01:18:16PM +0300, Владимир Гусев wrote: > >>>Какой ключ применить, чтобы файлы упаковывались без путей? > >>#!/bin/sh > >>d=`pwd` > >>cd /mnt/sqlru/backup/ > >>rar a -f4 /storage/base/base *.DAT > >>cd $d > >man pushd > > Что-то не так в скрипте? Ага. Сравните со следующим: pushd /mnt/sqlru/backup rar a -f4 /storage/base/base *.DAT popd -- WBR, Damir Shayhutdinov