I have the following structure:
root_directory/ foo bar/ x/ a.txt b.txt y .a_file scripts/ my_script.sh
I want the
my_script to copy the contents of
bar/x to be under the
If I use:
cp -r ../bar/x .. it will break if I run the script outside the
How can I do this so that it works for both Mac and Linux?