copyFiles              package:PBSadmb              R Documentation

_C_o_p_y _S_y_s_t_e_m _F_i_l_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Copy files with specified prefixes and suffixes from one location
     to another.

_U_s_a_g_e:

     copyFiles(prefix, suffix=NULL, dir0=getwd(), dir1=getwd(), ask=TRUE)

_A_r_g_u_m_e_n_t_s:

  prefix: string scalar/vector of potential file prefixes. 

  suffix: string scalar/vector of potential file suffixes. 

    dir0: source directory from which to copy files. 

    dir1: destination directory to copy files to. 

     ask: logical: if 'TRUE', popup boxes will prompt the user for
          every instance that a file will be overwritten. 

_D_e_t_a_i_l_s:

     This function uses R's 'list.files' and 'file.copy' functions. The
     pattern recognition tends not to work when given the wildcard
     character '*'; however, the user may use this character, and the
     code will interpret it.

_V_a_l_u_e:

     Invisibly returns a Boolean vector with names of files that have
     been copied or not.

_A_u_t_h_o_r(_s):

     Rowan Haigh, Pacific Biological Station, Nanaimo, BC

_S_e_e _A_l_s_o:

     'editAD'

