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
Step 1: Make a copy of your folder: cp folder /tmp/username/folder Step2: Delete all root files from the new folder: find /tmp/username/folder -name "*.root" -print0 | xargs -0 rm Step3: Copy the new folder