Some useful scripts that I've come to rely on
Directory Tree
utilities/
|-- EOS
| \`-- eosCount.sh
|-- Git
| |-- .gitconfig
| \`-- .gitignore_global
|-- Login
| |-- .bash_profile
| |-- .bash_ps1
| |-- .bashrc
| |-- .cshrc
| |-- .emacs
| |-- .forward
| |-- .k5login
| |-- .login
| |-- .profile
| |-- .tcshrc.complete
| \`-- .tcshrc.logout
|-- README.md
|-- ROOT
| |-- .rootrc
| |-- ahadd.py
| \`-- rootlogon.C
|-- Setup
| |-- DASSetup.csh
| |-- FPGASetup.csh
| |-- HATSSetup.csh
| |-- JECSetup.csh
| |-- JECSetup.sh
| |-- MatrixElementSetup.csh
| |-- MatrixElementSetup.sh
| |-- Setup.sh
| \`-- VHbbSetup.csh
|-- TAMUWW
| |-- clearLimitTestingFiles.py
| |-- renameLimitRootFiles.sh
| |-- submitLimitHistograms.sh
| \`-- submitSysHistograms.sh
|-- TDRCompile.sh
|-- TDRSetup.sh
|-- clearUnwantedFiles.sh
|-- copyDirectories.sh
|-- countFoldersAndFiles.sh
|-- duSort.sh
|-- grepMissingWord.sh
|-- mcp.sh
|-- refreshLoginLinks.sh
|-- removeOlderThan.sh
|-- renameLinks.sh
|-- smv
${PWD}/utilities/refreshLoginLinks.sh
NOTE: If you have any files with the same name already existing in your ${HOME} area then the process will abort.
Name | Directory | Description | Help Message Available | Example Usage |
---|---|---|---|---|
clearUnwantedFiles.sh | ./ | Delete a selection of unwanted files (i.e. *.txt~) | Yes | ./clearUnwantedFiles.sh -h |
copyDirectories.sh | ./ | Copy directory structure from one location to another | Yes | ./copyDirectories.sh -h |
countFoldersAndFiles.sh | ./ | Count the numbe of files, folders, and links | Yes | countFoldersAndFiles.sh -h |
duSort.sh | ./ | Sort a list of files by size | No | |
grepMissingWord.sh | ./ | Grep for all files missing a specific work | Yes | |
mcp.sh | ./ | Yes | ||
refreshLoginLinks.sh | ./ | Setup the links for this package in a users ${HOME} area | No | ./refreshLoginLinks.sh |
removeOlderThan.sh | ./ | Remove files older than a specific date | Yes | |
renameLinks.sh | ./ | Rename a set of links | No | |
smv | ./ | No | ||
TDRCompile.sh | ./ | Used after TDRSetup.sh to compile a CMS document | No | source TDRCompile.sh |
TDRSetup.sh | ./ | Used to setup ones working area for a CMS document | No | source TDRSetup.sh |
eosCount.sh | EOS/ | Counts or lists all files using "eos find" | Yes | ./eosCount.sh <path> |
eosdu | EOS/ | Gets the number of files in and size of an EOS directory | Yes | eosdu -h -r /store/user/<path> |
.gitconfig | Git/ | Git global configuration file | No | <N/A> |
.gitignore_global | Git/ | Git global ignore list | No | <N/A> |
.bash_profile | Login/ | bash login script | No | <N/A> |
.bash_ps1 | Login/ | pack prompt script | No | <N/A> |
.bashrc | Login/ | bash login script | No | <N/A> |
.cshrc | Login/ | (t)csh login script | No | <N/A> |
.emacs | Login/ | emacs configuration | No | <N/A> |
.forward | Login/ | Email forwarding | No | <N/A> |
.k5login | Login/ | Kerberos configuration | No | <N/A> |
.login | Login/ | iterm2 login script | No | <N/A> |
.profile | Login/ | Login script | No | <N/A> |
.tcshrc.complete | Login/ | tcsh script | No | <N/A> |
.tcshrc.logout | Login/ | tcsh logout script | No | <N/A> |
ahadd.py | ROOT/ | Parallelizes the hadd process for ROOT files | Yes | python ahadd.py |
.rootrc | ROOT/ | ROOT setup script | No | <N/A> |
rootlogon.C | ROOT/ | Global ROOT logon script | No | <N/A> |
FPGASetup.csh | Setup/ | Setup/login to the computer with an Xilinx FPGA | No | source FPGASetup.csh |
Setup.sh | Setup/ | Setup a CMSSW/CRAB environment for a given project | No | source Setup.sh |
Obsolete Scripts
Name | Directory | Description | Help Message Available | Example Usage |
---|---|---|---|---|
DASSetup.csh | Setup/ | Old DAS setup script | No | source DASSetup.csh |
HATSSetup.csh | Setup/ | Old HATS setup script | No | source HATSSetup.csh |
JECSetup.csh | Setup/ | Old JEC setup script | No | source JECSetup.csh |
JECSetup.sh | Setup/ | Old JEC setup script | No | source JECSetup.sh |
MatrixElementSetup.csh | Setup/ | Old TAMUWW setup script | No | source MatrixElement.csh |
MatrixElementSetup.sh | Setup/ | Old TAMUWW setup script | No | source MatrixElement.sh |
VHbbSetup.csh | Setup/ | Old VHbb setup script | No | source VHbbSetup.csh |
clearLimitTestingFiles.py | TAMUWW/ | Clears the files created by combine | No | python clearLimitTestingFiles.py |
renameLimitRootFiles.sh | TAMUWW/ | Rename some ROOT files for use by combine | No | source renameLimitRootFiles.sh |
submitLimitHistograms.sh | TAMUWW/ | Submit condor jobs to make the templates used by combine | No | source submitLimitHistograms.sh |
submitSysHistograms.sh | TAMUWW/ | Submit condor jobs to make the systematic templates | No | source submitSysHistograms.sh |