Given a main path ./class and within class are subdirectories student1,student2,student3…student100. within these subdirectories are other sub-directories history,geography,Math. Each of these subdirectories have hundreds of files in them. I want to KEEP all files that have a string pass in Math ONLY without affecting files in other subjects. So far I can cd to Math and do this: find .
Tag: subdirectory
How to copy directory from remote server with scp, excluding a specific subdirectory
I have a directory that I want to copy from a remote server to my desktop. In this directory there is a 40Gb subdirectory that I want to exclude from copying. Until now I used the scp command but there is no -exclude option or anything similar in the man page. By looking online I found a bunch of different