File Operations

In addition to a rich set of standard file operations, the Wolfram Language's unified symbolic architecture makes it easy to apply algorithmic approaches and efficient higher-level programming to many file and system administration tasks.

(RefLink[FileNames, paclet:ref/FileNames]) — list names of files or directories at any depth in the file system

(RefLink[File, paclet:ref/File]) — symbolic representation of a file location

File Properties

File Utilities

(RefLink[FindList, paclet:ref/FindList]) — search for strings in lists of files

(RefLink[FilePrint, paclet:ref/FilePrint]) — display the raw contents of a file

(RefLink[ReadString, paclet:ref/ReadString]) — get the complete contents of a file as a string

(OrangeLink[Directory Operations », paclet:guide/DirectoriesAndDirectoryOperations])

(RefLink[DirectoryQ, paclet:ref/DirectoryQ]) — test whether a name corresponds to an existing directory

File System Operations

(RefLink[FileSystemScan, paclet:ref/FileSystemScan]) — perform an operation on nested directories of files

(RefLink[FileSystemMap, paclet:ref/FileSystemMap]) — give results of applying an operation to nested directories of files

Finding Files

(RefLink[FindFile, paclet:ref/FindFile]) — find a file on (RefLink[$Path, paclet:ref/$Path]) etc.

(RefLink[FileNameSetter, paclet:ref/FileNameSetter]) — interactively browse for a file

(OrangeLink[File Name Operations », paclet:guide/OperationsOnFileNames])

(RefLink[FileNameSplit, paclet:ref/FileNameSplit]), (RefLink[FileNameJoin, paclet:ref/FileNameJoin]) — split, join file name strings

Compression & Archiving

(OrangeLink[Reading & Writing Files », paclet:guide/Files])

File Templates

(RefLink[FileTemplate, paclet:ref/FileTemplate]) — set up a file as a template

(RefLink[TemplateApply, paclet:ref/TemplateApply]) — apply a file template to specific data

(OrangeLink[Low-Level File Operations », paclet:guide/LowLevelFileOperations])

Remote Files

(RefLink[URL, paclet:ref/URL]) — specify a remote file using HTTPS, SFTP, SCP, ...

(OrangeLink[Persistent Storage », paclet:guide/LocalObjects])