From mboxrd@z Thu Jan 1 00:00:00 1970 From: MARG Subject: Two questions Date: Sun, 11 Dec 2005 00:19:08 +0000 Message-ID: <439B707C.9070808@tuxdoit.com> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Sender: linux-admin-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="iso-8859-1" To: linux-admin@vger.kernel.org Hi, =46ollowing my previous question ("Subject: cutting"), how can i: 1) Detect if the file filname being stripped is missing in the filesystem, and accordingly, abort the script with an error; 2) How can i change directories inside a bash script ("cd" doesn't work= s). Any help would be apreciated. Warm Regards, M=E1rio Gamito - To unsubscribe from this list: send the line "unsubscribe linux-admin" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html