Learn R Programming

syncdr (version 0.1.1)

display_file_actions: Display file actions in table

Description

This function displays actions (either "copy" or "delete") to be performed on a list of files.

Usage

display_file_actions(path_to_files, directory, action = c("copy", "delete"))

Value

console-friendly table with files and actions

Arguments

path_to_files

Data frame containing the paths to the files. The data frame should have a column named "Paths".

directory

Character string specifying path to directory where action is taken

action

Character vector specifying the action to be performed on the files. Options are "copy" (default) or "delete".