Skip to content

Script to count files on a server or your staging area - #242

Merged
PaulWessel merged 2 commits into
masterfrom
count-files
Oct 2, 2023
Merged

PaulWessel merged 2 commits into
masterfrom
count-files

Conversation

@PaulWessel

Copy link
Copy Markdown
Contributor

Run scripts/srv_staging_vs_candidate.sh staging to get a total count of the number of files under that dir, and run the same script with the path to the relevant server dir on the gmtserver. if the counts differ then probably the scp job timed up due to excessive Internet traffic! I get (with staging dir full):

scripts/srv_staging_vs_candidate.sh staging
Found a total of 12740 files for 23 data sets
Log file is /Users/pwessel/dataset.log

while on the server I get [not update yet of course]

/export/gmtserver/gmt/gmtserver-admin/srv_staging_vs_candidate.sh server            
Found a total of 12250 files for 23 data sets
Log file is /export/gmtserver/pwessel/dataset.log

running place-earth-gebo now.

Run scripts/srv_staging_vs_candidate.sh staging to get a total cound of the number of files underthat dir, and run the same script with the path to the relevant server dir on the gmtserver.  if the counts differ then probably the scp job timed up due to excessive Internet traffic!
@PaulWessel PaulWessel added the enhancement New feature or request label Oct 1, 2023
@PaulWessel
PaulWessel requested a review from Esteban82 October 1, 2023 16:28
@PaulWessel PaulWessel self-assigned this Oct 1, 2023
@PaulWessel
PaulWessel merged commit 814dc93 into master Oct 2, 2023
@PaulWessel
PaulWessel deleted the count-files branch October 2, 2023 12:08
@PaulWessel
PaulWessel restored the count-files branch October 16, 2023 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants