NewGraphEnvironment / fish_passage_skeena_2023_reporting

https://newgraphenvironment.github.io/fish_passage_skeena_2023_reporting
Creative Commons Zero v1.0 Universal
0 stars 2 forks source link

copy all photo directories from shared drive to local repo #70

Closed NewGraphEnvironment closed 4 months ago

NewGraphEnvironment commented 4 months ago

testing fs::dir_copy.

Idea is to change photo names only in shared drive location (onedrive for now)

of course the key inputs in .gitignore already are:

*.JPG
!crossing_all.JPG
!*_k_*
NewGraphEnvironment commented 4 months ago

This is complete locally (ie. Al's repo) as per documentation in scripts/01_prep_inputs/01_prep_photos.Rmd and scripts/01_prep_inputs/01_prep_photos.html. Important - we are nuking (deleting) the entire directory every time with fs::dir_delete('data/photos') so we need to be sure to only make changes in our shared location. For the record the way to do this is fs::dir_copy( path = dir_photos_shared, new_path = 'data/', overwrite = TRUE)