Pydio Documentation Library

Deploy, administrate & extend Pydio

  • Administration guide
  • Knowledge Base
  • F.A.Q
  • Cells Flows
  • API Documentation
  • Legacy

Pydio v8

  • Pydio v8
  • Pydio v7
  • Pydio v6

humanize

Template functions used to make numbers mor human-friendly, from the nice Go-humanize package.

  • humanBytes
  • humanComma
  • humanCommaf

gvalsprig
Back to top
  • Product Overview
    • Introduction to Cells Flows
    • Anatomy of a Job
      • Actions and Messages
      • Data Types, Queries, Filters
      • Triggers
      • Parameters
      • Tasks Logs
      • Running actions in parallel
    • Demo of a simple job (video)
    • Managing Jobs
      • Create/Rename/Delete
      • Templates and Presets
    • Scripting Capabilities
      • Using Golang Templates
      • Templates Functions
      • Live Playground
  • Preset Jobs
    • Backup Personal Files
    • Broken Thumbnails
    • Detect metadata change
    • Disable Links Older...
    • Empty All Recycles
    • Folder Content Report
    • Import Users (CSV)
    • List Locked Users
    • Move Files Automatically
    • Personal Files Preset
    • Purge Activities
    • Purge Files Older...
    • Read License Stats
    • Role for each Workspace
    • Scan with Antivirus
    • Storage Usage
    • Tika - Clean Contents
    • Tika - Extract Contents
    • Tika - Reindexation
    • Truncate Logs
    • Unlock Public Links
    • WS First Connection
  • Actions
    • Files/Folders Operations
      • JSON Snapshot
      • Copy/Move
      • Write To File
      • Delete files
      • Read from File
      • Store Internal Meta
      • User metadata
    • Archives Operations
      • Extract Archive
      • Create Archive
    • Scheduler Tools / Internals
      • Build Message
      • Empty Action
      • Anko Script
      • Sleep
    • Upload/Download to External Servers
      • Webhook
      • Http Get
      • FTP Put
      • Scp put
    • Atomic Commands and Scripts
      • Resynchronize
      • Shell Command
      • gRPC Request
    • Contents Processing
      • ClamAV Scan
      • Doconv Extractor
      • Extract EXIF
      • Tika Extractor
      • Clean Thumbs
      • Create Thumbs
    • Identity Management
      • Delete Identity Data
      • Remove Users
      • Persist Identity Data
      • Context User
      • Set user attribute
    • Notifications and Emails
      • Email Digest
      • Send Email
    • Extract/Load/Transform
      • Import from CSV
      • Sync. Directories
    • Internal Actions
      • Prune Jobs
      • User-data clean up
      • Upgrade DataSource Format
      • Sync. Shares
      • Fake Users
      • Prune Versions
      • Prune tokens
      • Sync. Configs
      • File versioning
      • Reset policies
      • Sync. workspaces
      • Global meta from P8
      • Archive Changes
      • Sync. Directories
      • Legacy meta from P8
  • Filters & Queries
    • Files/Folders Selector
    • Users Selector
    • Roles Selector
    • Workspaces Selector
    • ACL Selector
    • Task Message Filter
    • Request Metadata Filter
  • Template Functions
    • cells
      • asStamp
      • fromStamp
      • publicLink
      • toJsonMap
      • toStamp
      • unixEpoch
    • go
      • and
      • call
      • eq
      • ge
      • gt
      • html
      • index
      • js
      • le
      • len
      • lt
      • ne
      • not
      • or
      • print
      • printf
      • println
      • slice
      • urlquery
    • gval
      • gval
      • gvals
    • humanize
      • humanBytes
      • humanComma
      • humanCommaf
    • sprig
      • abbrev
      • abbrevboth
      • add
      • add1
      • ago
      • append
      • atoi
      • b32dec
      • b32enc
      • b64dec
      • b64enc
      • base
      • biggest
      • buildCustomCert
      • camelcase
      • cat
      • ceil
      • clean
      • coalesce
      • compact
      • contains
      • date
      • dateInZone
      • dateModify
      • date_in_zone
      • date_modify
      • default
      • derivePassword
      • dict
      • dir
      • div
      • empty
      • ext
      • fail
      • first
      • float64
      • floor
      • genCA
      • genPrivateKey
      • genSelfSignedCert
      • genSignedCert
      • has
      • hasKey
      • hasPrefix
      • hasSuffix
      • hello
      • htmlDate
      • htmlDateInZone
      • indent
      • initial
      • initials
      • int
      • int64
      • isAbs
      • join
      • keys
      • kindIs
      • kindOf
      • last
      • list
      • lower
      • max
      • merge
      • min
      • mod
      • mul
      • nindent
      • nospace
      • now
      • omit
      • pick
      • pluck
      • plural
      • prepend
      • push
      • quote
      • randAlpha
      • randAlphaNum
      • randAscii
      • randNumeric
      • regexFind
      • regexFindAll
      • regexMatch
      • regexReplaceAll
      • regexReplaceAllLiteral
      • regexSplit
      • repeat
      • replace
      • rest
      • reverse
      • round
      • semver
      • semverCompare
      • set
      • sha1sum
      • sha256sum
      • shuffle
      • snakecase
      • sortAlpha
      • split
      • splitList
      • squote
      • sub
      • substr
      • swapcase
      • ternary
      • title
      • toDate
      • toJson
      • toPrettyJson
      • toString
      • toStrings
      • trim
      • trimAll
      • trimPrefix
      • trimSuffix
      • trimall
      • trunc
      • tuple
      • typeIs
      • typeIsLike
      • typeOf
      • uniq
      • unset
      • until
      • untilStep
      • untitle
      • upper
      • uuidv4
      • without
      • wrap
      • wrapWith
Menu
  • EN
  • FR
Announcement: [COVID19] See how Pydio helps when remote is the new normal
  • Accueil
  • Fonctionnalités
    • Découverte de Pydio Cells
    • Collaboration en ligne
    • Sécurité et Conformité
    • Evolutif et Robuste
    • [NOUVEAU] Cells Flows
    • Détail des fonctionnalités
    • Migration depuis Pydio 8
    • Tester Pydio Cells en ligne
  • Solutions
    • Bâtiment
    • Education
    • Industrie
    • Juridique & Finance
    • Media & Communication
    • Santé
    • Secteur public
    • Vente au détail
    • Conseil
    • [COVID-19] Pydio pour le télétravail
  • Tarifs
    • Tarifs
    • Nous contacter
  • Docs
    • Administration guide
    • Knowledge Base
    • F.A.Q
    • Cells Flows
    • API Documentation
    • Legacy
  • Community
    • Forum
    • Contribute
      • Found a Security Issue?
      • Contributor License Agreement (CLA)
      • Adding a translation to Pydio
    • Application Builds
    • Blog
  • Télécharger
  • Sign up
  • Login
  • A Propos
    • Qui sommes nous
    • Fonctionnalités
    • Tarifs
    • Presse
    • Demo
  • Resources
    • Guide Administrateur
    • Guide Développeur
    • Code Source
    • White paper
    • FAQ
  • Support
    • Support communautaire
    • Support subcription
    • Contribuer au logiciel
  • Nous contacter
    • Email
    • FRANCE: +33 1 76361075
    • USA: +1 312-757-4188
    • Politique de protection des données personnelles

  • Copyright © Abstrium SAS 2012-2020
  • Legal
  • Site développé par des experts Drupal
  • Facebook
  • Linkedin
  • Twitter