Κάτι τέτοιο, θα δουλεύει σίγουρα με κενά στο όνομα του αρχείου:

for i in *.avi
do
 base1=`basename "$i" .avi`;
done

Όταν ακολούθως θες το $base1, χρησιμοποίησε το σαν "$base1".
-- 
Ubuntu-gr mailing list
[email protected]

If you do not want to receive any more messages from the ubuntu-gr mailing 
list, please follow this link and choose unsubscribe:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr

Απαντηση