Currently, working with rhel. Need to create a script that can use a mapping file (source and target need to be dynamic). What file type should be used for the mapping file (.csv, .txt, .json)?
- End directory in a slash e.g.
src/ -rcan be used against a file e.g.cp -r src/file.fil tgt/- script will be kicked off by the spec file and files will be copied during build
- source and target need to be dynamic
Script example
cp -r src/file.fil tgt/
Mapping file
<src>\t<tgt>\n e.g. src/file.fil \t tgt/ \n OR 'src/file.fil'\t'tgt/'\n