Hi guys,
I got a task to copy files .js extensions I copied the file as you can see in the image, but the task was marked as failed.
Thank you for your help!
The error showed in the task is :
Hi guys,
I got a task to copy files .js extensions I copied the file as you can see in the image, but the task was marked as failed.
Thank you for your help!
The error showed in the task is :
hey there!
Iâd do this to make sure the task would be done correctly :
this would do the job :
find . -name â*.jsâ -print0 | egrep -v â^dâ | cpio -pdm /destDir
Thank you @siraj_krm but the problem is that I dont remember that the question ask to copy the parent directory.
you missed the parent directory in your cp command. you should try cp --parents.