I am using the following command to copy contents from a source directory to a destination directory:
cp src/* dest
However, after evoking this command and while when contents are getting copied, if I create some more files in the src directory , these newly created files are not copied to the dest directory.
Could you please explain the reason behind it? Does
cp work on something like making account of contents while
cp is fired and then copying the contents based in that account keeping and thus ignoring the newly created contents?