Utility functions that may be of general interest but are specifically required by the 'NeuroAnatomy Toolbox' ('nat'). Includes functions to provide a basic make style system to update files based on timestamp information, file locking and 'touch' utility. Convenience functions for working with file paths include 'abs2rel', 'split_path' and 'common_path'. Finally there are utility functions for working with 'zip' and 'gzip' files including integrity tests.
|Date of publication||2015-07-04 15:24:37|
|Maintainer||Gregory Jefferis <email@example.com>|
abs2rel: Remove common part of two paths, leaving relative path
common_path: Find common prefix of two or more (normalised) file paths
file.swap: Swap names of two files (by renaming first to a temporary...
gzip.crc: Extract the CRC (32 bit hash) of a gzip file
is.gzip: Check if a file is a gzip file
makelock: Make and remove (NFS safe) lock files
nat.utils: nat.utils: File System Utility Functions for NeuroAnatomy...
nat.utils-defunct: nat.utils: Defunct functions
ncpus: Return number of cpus (or a default on failure)
RunCmdForNewerInput: Run a command if input files are newer than outputs
split_path: Split file path into individual components (optionally...
touch: Use unix touch utility to change file's timestamp
zipinfo: Return information about a zip archive using system unzip...
zipok: Verify integrity of one or more zip files