I want to move all the files from parent folder to child folder... and ignore the existing files in the child folder, i.e. if img1.jpg
exists in both parent and child folder, it should not be replaced in child folder.
I can move the files like below:
mv ./parent/*.jpg ./parent/child/
but don't know how to tell Ubuntu to ignore the existing files?
Per the mv man page, the '-n' flag will not overwrite existing files: