I would like to cp the whole directory, however inside that directory, it has some files which I don't permission to cp over. Is there any flag I can use in this case. Or are there any other command I should consider ? I think there should be a smart way to do this, like combine other commands Any help is appreciated.
text1.txt text2.txt *text3 text4.txt* text5.txt
text3 is another directory, and text4 is a file. While both of them, I don't have permission to access or view for now.
but the rest of files (or directory) I have the permission to cp over. How can we cp the only files with permission?