list_images.sh 367 Bytes
#!/bin/bash

for eachfile in $PATH_MANIFEST/images/*.manifest
do 
	NOM_IMAGE=$(grep nom_image $eachfile | cut -d ':' -f2)
	TAILLE=$(grep taille $eachfile | cut -d ':' -f2)
	CHEMIN=$(grep chemin $eachfile | cut -d ':' -f2)
	echo "----------------------"
	echo "Nom image: $NOM_IMAGE"
	echo "Taille: $TAILLE"
	echo "Chemin: $CHEMIN"
	echo "----------------------"
done