Overview of the FileTools Package
Calling Sequence
Description
List of FileTools Subpackages
List of FileTools Package Commands
List of FileTools[Text] Module Commands
List of FileTools[Binary] Module Commands
List of FileTools[Compressed] Module Commands
FileTools[command](arguments)
command(arguments)
The FileTools package is a collection of file manipulation utilities.
The FileTools package contains three subpackages: Text, Binary, and Compressed, as well as other commands that can be applied to files.
Text files contain certain formatting concepts that do not apply to binary data (for example, lines and newline characters). Also, the data in a text file is represented using characters. In Maple, the internal representation is converted to a string and then written. For more information, see the Text module help page.
The data in a binary file is written to disk using a binary representation. Currently, this means that only hardware data types, integers, and floats can be written using the Binary module. For more information, see the Binary module help page.
Each command in the FileTools package can be accessed by using either the long form or the short form of the command name in the command calling sequence.
As the underlying implementation of the FileTools package is a module, it is also possible to use the form FileTools:-command to access a command from the package. For more information, see Module Members.
The Text subpackage contains commands specific for manipulating text files.
The Binary subpackage contains commands for working with files of binary data.
The Compressed subpackage contains commands for the creation, reading, and writing of compressed files.
AbsolutePath
AtEndOfFile
Basename
CanonicalPath
Copy
Exists
Extension
Filename
Flush
Hash
IsDirectory
IsExecutable
IsLink
IsLockable
IsOpen
IsReadable
IsWritable
JoinPath
ListDirectory
Lock
MakeDirectory
ModificationTime
ParentDirectory
Position
Remove
RemoveDirectory
Rename
Size
SplitPath
Status
TemporaryDirectory
TemporaryFile
TemporaryFilename
Unlock
Walk
Close
CountCharacters
CountFloats
CountIntegers
CountLines
Open
OpenTemporaryFile
ReadCharacter
ReadFile
ReadFloat
ReadInteger
ReadLine
ReadNextFloat
ReadNextInteger
ReadString
WriteCharacter
WriteFile
WriteFloat
WriteInteger
WriteLine
WriteString
CountBytes
Read
Write
Contents
Extract
ReadWriteFile
To display the help page for a particular FileTools command, see Getting Help with a Command in a Package.
See Also
examples/FileTools
FileTools[Binary]
FileTools[Text]
help
module
symbol
UsingPackages
with
Download Help Document
What kind of issue would you like to report? (Optional)