Rename raw files left under a previous naming convention
Source:R/download_data.R
pg_migrate_rawfiles.RdWhen a source's url list gains explicit filenames, files already downloaded under the name derived from the url would otherwise be re-downloaded and the old copies orphaned. This renames them in place instead.
Arguments
- file_info
A data.frame as from
pg_rawfiles(). Defaults to all of it.- dry_run
Logical. If TRUE (default), only report what would be renamed.