# Table of Contents - fileutils: Ruby Standard Library Documentation

## Classes and Modules

- FileUtils
  - What’s Here
  - Creating
  - Deleting
  - Querying
  - Setting
  - Comparing
  - Copying
  - Moving
  - Options
  - Path Arguments
  - About the Examples
  - Avoiding the TOCTTOU Vulnerability
- FileUtils::DryRun
- FileUtils::NoWrite
- FileUtils::Verbose

## Methods

- ::cd — FileUtils
- ::chdir — FileUtils
- ::chmod — FileUtils
- ::chmod_R — FileUtils
- ::chown — FileUtils
- ::chown_R — FileUtils
- ::cmp — FileUtils
- ::collect_method — FileUtils
- ::commands — FileUtils
- ::compare_file — FileUtils
- ::compare_stream — FileUtils
- ::copy — FileUtils
- ::copy_entry — FileUtils
- ::copy_file — FileUtils
- ::copy_stream — FileUtils
- ::cp — FileUtils
- ::cp_lr — FileUtils
- ::cp_r — FileUtils
- ::getwd — FileUtils
- ::have_option? — FileUtils
- ::identical? — FileUtils
- ::install — FileUtils
- ::link — FileUtils
- ::link_entry — FileUtils
- ::ln — FileUtils
- ::ln_s — FileUtils
- ::ln_sf — FileUtils
- ::ln_sr — FileUtils
- ::makedirs — FileUtils
- ::mkdir — FileUtils
- ::mkdir_p — FileUtils
- ::mkpath — FileUtils
- ::move — FileUtils
- ::mv — FileUtils
- ::options — FileUtils
- ::options_of — FileUtils
- ::pwd — FileUtils
- ::remove — FileUtils
- ::remove_dir — FileUtils
- ::remove_entry — FileUtils
- ::remove_entry_secure — FileUtils
- ::remove_file — FileUtils
- ::rm — FileUtils
- ::rm_f — FileUtils
- ::rm_r — FileUtils
- ::rm_rf — FileUtils
- ::rmdir — FileUtils
- ::rmtree — FileUtils
- ::safe_unlink — FileUtils
- ::symlink — FileUtils
- ::touch — FileUtils
- ::uptodate? — FileUtils
- #cd — FileUtils
- #chdir — FileUtils
- #chmod — FileUtils
- #chmod_R — FileUtils
- #chown — FileUtils
- #chown_R — FileUtils
- #cmp — FileUtils
- #compare_file — FileUtils
- #compare_stream — FileUtils
- #copy — FileUtils
- #copy_entry — FileUtils
- #copy_file — FileUtils
- #copy_stream — FileUtils
- #cp — FileUtils
- #cp_lr — FileUtils
- #cp_r — FileUtils
- #getwd — FileUtils
- #identical? — FileUtils
- #install — FileUtils
- #link — FileUtils
- #link_entry — FileUtils
- #ln — FileUtils
- #ln_s — FileUtils
- #ln_sf — FileUtils
- #ln_sr — FileUtils
- #makedirs — FileUtils
- #mkdir — FileUtils
- #mkdir_p — FileUtils
- #mkpath — FileUtils
- #move — FileUtils
- #mv — FileUtils
- #pwd — FileUtils
- #remove — FileUtils
- #remove_dir — FileUtils
- #remove_entry — FileUtils
- #remove_entry_secure — FileUtils
- #remove_file — FileUtils
- #rm — FileUtils
- #rm_f — FileUtils
- #rm_r — FileUtils
- #rm_rf — FileUtils
- #rmdir — FileUtils
- #rmtree — FileUtils
- #safe_unlink — FileUtils
- #symlink — FileUtils
- #touch — FileUtils
- #uptodate? — FileUtils