115 const String& fileNamePattern,
172 static void remove (
const String& fileName,
Bool recursive,
static Vector< String > fileType(const Vector< String > &fileName, Bool follow=True)
Give the type of the given files.
static void copy(const String &to, const String &from, Bool overwrite=True, Bool follow=True)
Copy the file (or directory recursively).
DO for accessing os-specific functions.
static Vector< String > fileNames(const String &directoryName, const String &fileNamePattern, const String &fileTypes, Bool all=False, Bool follow=True)
Give all file names in the directory matching the given pattern and file types.
static Vector< Int > lockInfo(const String &tableName)
Tell if a table is used or locked by another process.
static Vector< String > baseName(const Vector< String > &fileName)
Return the base names of the given files.
static void move(const String &to, const String &from, Bool overwrite=True, Bool follow=True)
Move the file or directory.
static Vector< String > dirName(const Vector< String > &fileName)
Return the full directory names of the given files.
static Vector< String > fullName(const Vector< String > &fileName)
Return the full absolute names for the given names.
static Vector< Bool > isValidPathName(const Vector< String > &pathName)
Are the given path names valid? I.e.
static Vector< Bool > fileExists(const Vector< String > &fileName, Bool follow=True)
Do the given files exist? If follow is False, symbolic links are not followed.
bool Bool
Define the standard types used by Casacore.
static void makeDirectory(const Vector< String > &directoryNames, Bool makeParent=False)
Make directories.
static Vector< Double > fileTime(const Vector< String > &fileName, Int whichTime=1, Bool follow=True)
Get the time of the given files.
static Vector< Double > freeSpace(const Vector< String > &fileName, Bool follow=True)
Return the total size on the devices the given directories are on.
String: the storage and methods of handling collections of characters.
LatticeExprNode all(const LatticeExprNode &expr)
static Vector< Double > totalSize(const Vector< String > &fileName, Bool follow=True)
Return the total size (in bytes) for each file or directory given.