Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from.dir <- "J:/Radar_data/Beit_Dagan/RAW/2018"
- ## I want only the files from the night
- to.dir <- "J:/Radar_data/Beit_Dagan/night"
- files <- list.files(path = from.dir, full.names = TRUE, recursive =
- TRUE)
- ## night_files is a vector I created with the files I need - only during
- the night
- for (f in night_files) file.copy(from = f, to = to.dir)
- [1] "J:/Radar_data/Beit_Dagan/H5/2018/03/10/TLV180310142554.h5"
- [2] "J:/Radar_data/Beit_Dagan/H5/2018/03/10/TLV180310142749.h5"
- [3] "J:/Radar_data/Beit_Dagan/H5/2018/03/10/TLV180310143054.h5"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement