Naming Conventions for Path Components
Richard Aubrey White
2022-12-28
Source:vignettes/naming_conventions_for_path_components.Rmd
naming_conventions_for_path_components.Rmd
Let us consider the file /home/richard/test.src
Component | Name |
---|---|
/home/richard/test.src | Absolute (file)path |
richard/test.src | Relative (file)path |
/home/richard/ | Absolute (directory) path |
./richard/ | Relative (directory) path |
richard | Directory |
test.src | Filename |
A path is a location in a directory structure. Filenames only include information about the name of the file. Directories only include information about the name of the directory. Filepaths are paths that specify the location of a file.