Re: [EP-tech] bulk addition of divisions
John Salter via Eprints-tech <[email protected]>
| Newsgroups | gmane.comp.web.eprints.devel |
|---|---|
| Message-ID | <EMEW3|2c7c1a89f483f792e567e353ad443d29v49A3Y14eprints-tech-bounces|ecs.soton.ac.uk|DB6PR0302MB27115AD6479A52F8D99C0B3BC40C0@DB6PR0302MB2711.eurprd03.prod.outlook.com> |
If it doesn't work, I've got a bin script that might help. It can basically do: Search eprint dataset for division=A For every eprint the results list: - Get the existing divisions - append Division=B to the divisions array (if it's not there already) - Commit Cheers, John From: [email protected] [mailto:[email protected]] On Behalf Of Ranju Upadhyay via Eprints-tech Sent: 10 May 2019 09:59 To: [email protected]; Rory McNicholl <[email protected]> Subject: Re: [EP-tech] bulk addition of divisions Thanks Rory, I will try this out. Thanks Ranju Ranju Upadhyay Rai Library Programmer University Library Maynooth University, Maynooth, Co. Kildare, Ireland, W23 VP22 T: +353 1 708 3378 M: +353 87 98 43811 [email protected]<mailto:[email protected]> W: https://eur03.safelinks.protection.outlook.com/?url=www.maynoothuniversity.ie%2Flibrary&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C043bcc7adfcf49030ddf08d6d5265c78%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=WpNd92u3gbn5yUZnq7p5Go7ShAJeZ2ddR%2FtQkyfpqqw%3D&reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.maynoothuniversity.ie%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C043bcc7adfcf49030ddf08d6d5265c78%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=%2F4lFpfCLWoEIvga%2FeNVCF26ORWyHE12OX715%2FLsjxbs%3D&reserved=0> ________________________________ From: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> on behalf of Rory McNicholl via Eprints-tech <[email protected]<mailto:[email protected]>> Sent: Friday 10 May 2019 09:33:56 To: [email protected]<mailto:[email protected]>; Ranju Upadhyay Subject: Re: [EP-tech] bulk addition of divisions Hi Ranju, If you use the admin search to search for all items in division A, you can then use the "batch edit" feature, displayed on the results page, to append division B to all those items in one go. (If you've not used the batch edit feature before, I'd suggest trying it out on a very small result set first). Thanks, Rory Rory McNicholl Team Lead - Research Technologies CoSector, University of London Senate House Malet Street London WC1E 7HU t: +44 (0)20 7863 1344 e: [email protected]<mailto:[email protected]> w: https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcosector.com%2Fdigital-research%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C043bcc7adfcf49030ddf08d6d5265c78%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=vJlW0KXgya7LNz0kISg7EzeHiWxGiA%2BC%2BjQ30aX0sgY%3D&reserved=0 The University of London is an exempt charity in England and Wales. ________________________________ From: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> on behalf of Ranju Upadhyay via Eprints-tech <[email protected]<mailto:[email protected]>> Sent: 10 May 2019 09:27 To: [email protected]<mailto:[email protected]> Subject: [EP-tech] bulk addition of divisions Hi List, we have a task of adding divisions/department to existing (several hundred) eprints in our IR. So, currently the items are assigned department/division "A" and now we need to give them Department "A" and Department "B". What would be the most effecient way of doing this? I know we can always edit individual item from the interface. However I was wondering if there is any other way too, since we have a very large number of items to be edited. Regards Ranju Ranju Upadhyay Rai Library Programmer University Library Maynooth University, Maynooth, Co. Kildare, Ireland, W23 VP22 T: +353 1 708 3378 M: +353 87 98 43811 [email protected]<mailto:[email protected]> W: https://eur03.safelinks.protection.outlook.com/?url=www.maynoothuniversity.ie%2Flibrary&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C043bcc7adfcf49030ddf08d6d5265c78%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=WpNd92u3gbn5yUZnq7p5Go7ShAJeZ2ddR%2FtQkyfpqqw%3D&reserved=0<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.maynoothuniversity.ie%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C043bcc7adfcf49030ddf08d6d5265c78%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=%2F4lFpfCLWoEIvga%2FeNVCF26ORWyHE12OX715%2FLsjxbs%3D&reserved=0> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/ *** EPrints developers Forum: http://forum.eprints.org/