[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Removing all user accounts with no deposits

Hi Martin,

My bad! I was using some obfuscated Perl there.? In this case the 
Diamond operator:


The shift removes the repo ID so the Diamond operator only tries to open 
the file named in the second argument.? The Diamond operator reads a 
line at a time, that is why I said the user IDs need to be new line 
separated in this file.


David Newman

On 12/05/2020 15:35, Martin Hawksey wrote:
> Hi?David,
> Thanks for getting back to me, the script looks ideal. Sorry for a 
> follow-up perl question but I can see in the shared script how:
> my $repoid = shift @ARGV;
> would get the repository name and remove ARCHIVE_NAMEfrom @ARGVbut where in the script does it open the file of new line separated 
> user IDs?
> Many thanks
> Martin

This email has been checked for viruses by AVG.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20200512/4d1f8ada/attachment.html