I was wondering if this code was correct or not. I am trying to copy all the files and subdirectories in one directory to a newly created directory.
cp -R dir/*newdir/*
any suggestions?
cp -R directoryname newdirectoryname
I was wondering if this code was correct or not. I am trying to copy all the files and subdirectories in one directory to a newly created directory. cp -R dir/*newdir/* any suggestions?
cp -r dir/* newdir/