This function will move dbfiles - clim or nc - from one location to another on the same machine and update BETY

dbfile.move(old.dir, new.dir, file.type, siteid = NULL, register = FALSE)

Arguments

old.dir

directory with files to be moved

new.dir

directory where files should be moved

file.type

what type of files are being moved

siteid

needed to register files that arent already in BETY

register

if file isn't already in BETY, should it be registered?

Value

print statement of how many files were moved, registered, or have symbolic links

Author

kzarada

Examples