Hi, Following 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 works). Any help would be apreciated. Warm Regards, Mário Gamito - : send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html