Files, Directories and Archives

This article introduces both file I/O programming and commands to search, copy and modify files in file systems and zip archives. To read from or write to a file, it must be opened as a binary stream, random access or text file. GNU zipped files can be read or written directly. Files in zip archives can also be read. JudoScript has a versatile list and copy commands. list searches files and/or directories as well as zip archives with inclusive and exclusive patterns. copy copies files among directories and zip archives. Files from multiple sources can be copied into a single archive. Other file system commands are rename (move), remove, setFileTime and setReadOnly.