1416 links
  • Animal
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
page 1 / 1
2 results tagged Taille x
  • filesystems - Calculating total file size by extension in shell - Server Fault

    Je recopie ici la commande (un peu adaptée) pour obtenir :

    • La taille totale des fichiers se terminant par .abc.
    • Contenus dans le répertoire /path et ses sous-répertoires.
    • La taille est donnée en octets.
    find /path -regex ".*/.*\.abc" -exec ls -l {} \; | awk '{ Total += $5} END { print Total }'

    Note : d'autres exemples existent avec la commande du. Cependant l'option du -b ne semble pas fonctionner sur tous les shells.

    Mon Jun 26 21:58:06 2023 - permalink -
    QRCode
    - https://serverfault.com/a/367195
    Bash Extension Fichiers Sh Shell Taille Totale
  • COBOL Comp-3 (Computational-3) Packed Fields: What they are. - A Disc Interchange technical article

    Quelques exemples pour calculer la taille en bytes d'une picture COBOL lorsqu'elle est au format COMP-3.

    Rapidement, cela consiste à :

    • ajouter une unité par chiffre;
    • ajouter une unité pour le signe, qu'un S soit présent ou non;
    • diviser le total par deux, et arrondir à l'entier supérieur si besoin.

    On obtient alors le nombre de bytes pris par l'image (PIC).

    Thu Dec 6 17:48:21 2018 - permalink -
    QRCode
    - http://www.3480-3590-data-conversion.com/article-packed-fields.html
    Bytes COBOL COMP COMP-3 Image PIC Picture Size Taille
Links per page: 20 50 100
page 1 / 1
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation