Print

Print


We'd much rather you connected to Diamond and pushed data back though:

http://www.diamond.ac.uk/Beamlines/Mx/Common/Common-Manual/Data-Backup/Remote-Backup.html

Thanks

Dave

-----Original Message-----
From: CCP4 bulletin board [mailto:[log in to unmask]] On Behalf Of Jonathan Davies
Sent: 31 July 2015 11:20
To: ccp4bb
Subject: Re: [ccp4bb] Off-topic: Transfering data from Diamond

You can SSH to diamond using the host: nx.diamond.ac.uk

Jonathan

On 30/07/15 23:00, Mohamed Noor wrote:
> Dear all
> 
> I have about 70 folders of data collected at Diamond. As I only want to keep about 50 of them, is there a script that can read in the folder names from a text file and download those?
> 
> Normally, I use FileZilla but it gets tedious to click so many times after a while....
> 
> Secondly, some folders have one sweep of data, some others with two or even three, is it possible to run a command from terminal that will filter different sweeps and output the number of frames?
> 
> For example, in a folder with files:
> 
> xxxx_sweep1_0001.cbf - xxxx_sweep1_1800.cbf xxxx_sweep2_0001.cbf - 
> xxxx_sweep2_0900.cbf
> 
> I want to get a text file output containing a line saying:
> /folder/name/sweep1 - 1800
> /folder/name/sweep2 - 900
> 
> The idea is so that I can feed those lines into XDS.INP without checking how many sweeps there are in each folder and how many frames.
> 
> I'm pretty sure someone on the BB has a trick for this.
> 
> Thanks.
> 

-- 
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom