move_symlink: file transferer

Description Usage Arguments Value Author(s) See Also

View source: R/move_symlink.R

Description

Move a file/folder to external drive in similar external directory and create a symlink in local

Usage

1
2
3
4
5
move_symlink(
  path = "/Users/alabadi/Downloads/trash",
  external = "/Volumes/0414861919/Mac_Home",
  home = "/Users/alabadi"
)

Arguments

path

full path to the file/folder (~ not allowed)

external

full path to the external directory replacing top level in 'path'

home

the top level directory from local to be replaced by 'external' for external backup

Value

copies the files folder in a replicate directory in external and symlinks

Author(s)

Al J Abadi, aljalabadi@gmail.com

See Also

Other file: check_files_exist(), dirTree(), file_backup(), parent_base_ext(), saveRDS2(), suffixer()


aljabadi/Altools documentation built on Jan. 17, 2022, 8:55 a.m.