Blame view

list_images.sh 367 Bytes
3e470988   hmalti   First commit
1
2
  #!/bin/bash
  
5721892d   hmalti   Avancées
3
  for eachfile in $PATH_MANIFEST/images/*.manifest
3e470988   hmalti   First commit
4
  do 
5721892d   hmalti   Avancées
5
6
7
8
9
10
11
12
  	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 "----------------------"
3e470988   hmalti   First commit
13
  done