9. Directories

Introduction

Getting and Setting Timestamps

Deleting a File

Copying or Moving a File

Recognizing Two Names for the Same File

Processing All Files in a Directory

Globbing, or Getting a List of Filenames Matching a Pattern

Processing All Files in a Directory Recursively

Removing a Directory and Its Contents

Renaming Files

Splitting a Filename into Its Component Parts

Program: symirror

Program: lst