Since the space allocated for scratch in lxplus is limited, its a good idea to copy old files to a PC or somewhere else. Since the root files are too big, its a time and resource consuming task to copy them. Moreover these root files can be reproduced easily or in many cases the root files are not needed anymore. This post shows how to copy your files to a remote PC after omitting all the root files.

There are many different ways to do this. One option is to use the exclusive option of rsync .

I would prefer to delete the root files locally and the copy the folder. For that