Groovy files and paths
Build a receipt path, save a note, or read a shopping list.
Names and locations
- File.name and parentFilePrint a receipt name and its folder
- Path.resolve and getFileNameBuild a receipt path without hard-coded separators
Read and write
- File.bytesRecover the brightest setting from a preset
- Files.readStringRead a saved shopping note
- Files.writeStringSave an item to a grocery note
Manage files and folders
- File.eachFileMatchCount only the invoices in a folder
- File.eachFileRecurseFind a receipt below the month folder
- File.mkdirsPrepare nested hand-in folders
- Files.copyKeep a separate copy of a receipt
- Files.deleteClear a disposable print preview
- Files.movePublish a signed attendance sheet
- Path.registerOpen and close an assignment subscription