File System Utility Functions for 'NeuroAnatomy Toolbox'


[Up] [Top]

Documentation for package ‘nat.utils’ version 0.5.1

Help Pages

nat.utils-package nat.utils: File System Utility Functions for NeuroAnatomy Toolbox
abs2rel Remove common part of two paths, leaving relative path
common_path Find common prefix of two or more (normalised) file paths
file.hardlink nat.utils: Defunct functions
file.swap Swap names of two files (by renaming first to a temporary file)
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 Toolbox
nat.utils-defunct nat.utils: Defunct functions
ncpus Return number of cpus (or a default on failure)
removelock Make and remove (NFS safe) lock files
RunCmdForNewerInput Run a command if input files are newer than outputs
split_path Split file path into individual components (optionally including separators)
touch Use unix touch utility to change file's timestamp
zipinfo Return information about a zip archive using system unzip command
zipok Verify integrity of one or more zip files