file modification
The blocks in the file modification group of files. If you run an older core, some of them may not be available to you yet.
- delete
conditionv10.4.28Deletes the given files. - file info
valuev10.4.28Gets basic file information. - file exif
conditionv14.0.2Gets the file EXIF information. - pdf images
conditionv14.0.2Lists all images included in the PDF. - pdf to text
conditionv14.0.2Converts the given PDF to text. - write
conditionv10.4.28Generates or overwrites a file with the new content - update name
filev10.4.28Sets a custom name for all files. If multiple files are given the index will be appended - append
conditionv10.4.28Appends content to the given file - copy
conditionv15.0.0Copies the given files into a destination directory, keeping each file's original name. Thedestination directoryis a folder path (created if missing), not a full path including the filename — e.g./public/uploadscopieshero.pngto/public/uploads/hero.png. Place the directory under/public/…to make the copies publicly servable via/static/…. To rename the copy, set the optionalfilenamepin (single source file only). To fan one file out to several full paths and/or names at once, use thefile spreadblock instead. - pdf to image
conditionv14.0.2Converts the given PDF to image files. - rename
conditionv10.4.28Renames the given files. - pdf color
conditionv14.0.2Retrieves the color from the PDF. - pdf fonts
conditionv14.0.2Retrieves the used fonts inside a PDF. - get extension
valuev12.1.1Grabs the file extension and mime-type - analyze pdf
conditionv14.0.4Analyzes the PDF with the given profile. - spread
conditionv15.0.0Copies a single source file to multiple destination paths, creating a real copy for each. Each entry inpathsis a full destination path including the filename (e.g./public/uploads/hero.png), so one upload can be fanned out to several locations and/or names at once. - move
conditionv10.4.28Moves the given files to a new destination. - move to public
conditionv10.4.28Moves the given files to a new public destination. - pdf info
conditionv14.0.2Retrieves basic PDF info. - set cache control
conditionv10.4.28Changes how a PUBLISHED public-media file may be cached, on object storage and at the edge, without re-uploading it. Giveno-storefor media that must never be kept anywhere but its origin — a one-time photo the moment its message becomes one-time — orpublic, max-age=31536000, immutableto make it cacheable again. The resized variants of the file ({name}_{w}x{h}.{ext}, as resize image writes them, named after the file'sfilenameas well as its path) are re-tagged with it. Only files in the trees the media mirror serves; a file outside them answersNOT_MIRRORED, a file that never reached the storeOBJECT_MISSING.
files Every block in this main group.