From 2e030299b384f81b0982eb623d0ffe38ec639903 Mon Sep 17 00:00:00 2001 From: zackramjan Date: Wed, 8 Nov 2023 16:57:31 -0500 Subject: [PATCH] updates --- rsync_collab_genomicscore.sh | 3 ++- rsync_instruments_geomx.sh | 3 ++- rsync_instruments_iscan.sh | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/rsync_collab_genomicscore.sh b/rsync_collab_genomicscore.sh index 8f53f90..be1934d 100755 --- a/rsync_collab_genomicscore.sh +++ b/rsync_collab_genomicscore.sh @@ -2,4 +2,5 @@ cd /varidata/researchtemp/collab/Genomics_Core mkdir -p .trash find */* -maxdepth 0 -mtime +60 -type d -exec bash -c 'mkdir .trash/$(dirname {}); mv {} .trash/$(dirname {})' \; -chown -R marie.adams .trash +chown -R marie.adams:sequencing-technology .trash +chmod -R g+rwX .trash diff --git a/rsync_instruments_geomx.sh b/rsync_instruments_geomx.sh index 1e1ea07..19659a4 100755 --- a/rsync_instruments_geomx.sh +++ b/rsync_instruments_geomx.sh @@ -13,4 +13,5 @@ cd /varidata/research/instruments/sequencing/geomx/DCC_output mkdir -p ../.trash/DCC_output find *_* -maxdepth 0 -mtime +60 -type d -exec mv {} ../.trash/DCC_output \; -chown -R marie.adams ../.trash +chown -R marie.adams:sequencing-technology ../.trash +chmod -R g+rwX ../.trash diff --git a/rsync_instruments_iscan.sh b/rsync_instruments_iscan.sh index d9e6664..3dc4113 100755 --- a/rsync_instruments_iscan.sh +++ b/rsync_instruments_iscan.sh @@ -1,5 +1,5 @@ #!/bin/bash cd /varidata/research/instruments/iscan/ mkdir -p .trash -find *_20* -maxdepth 0 -mtime +60 -type d -exec mv {} .trash \; +find PR* -maxdepth 0 -mtime +60 -type d -exec mv {} .trash \; chown -R marie.adams .trash