I am developing something on my laptop and scp'ing the files to a high performance PC (a server with no monitor). Out of laziness I just do this currently (on the laptop):
scp -r ~/project/* server:~/project/
However some of the files in the project directory are some log files and out files which I don't need to send, which can sometimes be a gig or so. What I would like is a nice clean command which basically does the same thing (transmits all the files in project and its subdirectories) but only sends files under a certain filesize threshold, such as 100 mb. I'm only mildly experienced with bash and not at all with regexp so I don't really have any idea how to do this without some convoluted method such as importing sys into python and using a bunch of ifs and comparisons.