Skip to content

A few scripts written in BASH to automate the extraction of PDF files from a DSPACE server.

License

Notifications You must be signed in to change notification settings

AfthabEK/Automated-Export-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Instructions

Exporting the handles of the required files:

  • Open SOLR search console http://localhost:80/solr/#/search/query
  • Set q as dc.contributor.advisor:Faculty name. (Replace Faculty Name with the name of the required faculty
  • Set wt field as CSV
  • Execute the query and verify the results Screenshot

Editing the script:

  • Open handle.txt.
  • Remove the 1st line 'handle' from the file.
  • Count the number of lines by scrolling all the way down.
  • Create a new folder in the home folder (this home folder refers to the folder accessible from the desktop).
  • Edit the exportfiles.sh script:
    • Replace the text "testfolder" with the name of the new folder.
    • Create another folder in the home folder.
  • Edit the exportpdf.sh script:
    • Replace the text testfolder with the name of the first folder
    • Replace the text testfolder_with_pdf with the name of the second folder
    • Replace the number inside the while bracket with the number of lines in the handles.txt file

Running the scripts:

  • run exportfiles.sh
  • run exportpdf.sh .

The required PDF files (including the full theses and abstracts) will be there inside the 2nd folder.

About

A few scripts written in BASH to automate the extraction of PDF files from a DSPACE server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages