Difference between revisions of "Derivatron.rb details"

From UA Libraries Digital Services Planning and Documentation
(New page: ==Derivatron Components== # Derivatron.rb # derivatives (folder) # get_derivatives_from_these_paths.txt ==Derivatron.rb== # Found at : C:\PortableRuby\portable-ruby on the local HD of a ...)
 
m
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
'''NOTE: The following page is considered obsolete -- we are no longer using this program -- so the information has been rendered in a gray font'''
 +
 +
<font color="grey">
 
==Derivatron Components==
 
==Derivatron Components==
# Derivatron.rb
+
# Derivatron_2.0.bat
 
# derivatives (folder)
 
# derivatives (folder)
 
# get_derivatives_from_these_paths.txt
 
# get_derivatives_from_these_paths.txt
 +
# readme.txt
 +
# For a copy of the script go here [[image:Derivatron_2.0.txt|Derivatron]] This file needs to be renamed with the .bat extension to work.
  
==Derivatron.rb==
+
==Derivatron_2.0.bat==
# Found at : C:\PortableRuby\portable-ruby on the local HD of a PC workstation
+
# Found at : C:\Derivatron_2.0 on the local HD of a PC workstation or,
# This script is written in Ruby and is set to look at the Get_derivatives_from_these_paths.txt file to get a list of all of the root paths for s: drive resources to be copied to the local computer.
+
# if not on the local drive a copy of the tool can be found on s: at \\Libfs1\share\Digital Projects\Administrative\scripts\qc\Derivatron_2.0
# The script will copy the entire directory tree with all of its .tif and .wav media files intact and ignore all other admin type files.
+
# This script is written in Windows Batch and is set to look at the Get_derivatives_from_these_paths.txt file to get a list of all of the root paths for s: drive resources to be copied to the local computer.
# All of the .tif files will then be changed into .jpg files for easy quality control review
+
# The script will find all of the .tif files that are in the folders and sub folders of the directory trees listed in the Get_derivatives_from_these_paths.txt file. and then make a flat list of .jpeg derivative files from those .tif files in the C:\Derivatron_2.0\derivatives folder.
 +
# The .bat file itself has commented documentation in it that out lines how the commands that are used work and should be helpful if the script needs to be modified or if a different script needs to be created. simply open the Derivatron_2.0.bat file in Notepad++ and change the lexer to BAT to see the script and the commands highlighted
  
 
==Derivatives (folder)==
 
==Derivatives (folder)==
# Found at : C:\PortableRuby\portable-ruby on the local HD of a PC workstation
+
# Found at : C:\Derivatron_2.0\derivatives on the local HD of a PC workstation
# This is the destination folder for all of the copied directory trees, and .jpeg derivatives
+
# This is the destination folder for all of the copied .jpeg derivatives
  
 
==Get_derivatives_from_these_paths.txt==
 
==Get_derivatives_from_these_paths.txt==
# Found at : C:\PortableRuby\portable-ruby on the local HD of a PC workstation
+
# Found at : C:\Derivatron_2.0 on the local HD of a PC workstation
# This file is the list of paths to root folders from which the derivatron.rb script will copy media files and sub directories.
+
# This file is the list of paths to root folders from which the derivatron_2.0.bat script will copy media files and make derivatives.
# This file will be cleared of entries every evening after the script has looked it over and done any copying.
+
# This file will be cleared of entries after every run of the script.
 
# This file must be formatted with one single path per line followed by a press of the return key
 
# This file must be formatted with one single path per line followed by a press of the return key
 +
 +
==filelist.txt==
 +
# Found at : C:\Derivatron_2.0  on the local HD of a PC workstation
 +
# This is a temp file that the .bat script uses and the script manages it. no need for user intervention.
 +
 +
==readme.txt==
 +
# Found at : C:\Derivatron_2.0  on the local HD of a PC workstation
 +
# This readme file has directions on how to use the Derivatron tool
 +
</font>

Latest revision as of 09:48, 4 October 2012

NOTE: The following page is considered obsolete -- we are no longer using this program -- so the information has been rendered in a gray font

Derivatron Components

  1. Derivatron_2.0.bat
  2. derivatives (folder)
  3. get_derivatives_from_these_paths.txt
  4. readme.txt
  5. For a copy of the script go here File:Derivatron 2.0.txt This file needs to be renamed with the .bat extension to work.

Derivatron_2.0.bat

  1. Found at : C:\Derivatron_2.0 on the local HD of a PC workstation or,
  2. if not on the local drive a copy of the tool can be found on s: at \\Libfs1\share\Digital Projects\Administrative\scripts\qc\Derivatron_2.0
  3. This script is written in Windows Batch and is set to look at the Get_derivatives_from_these_paths.txt file to get a list of all of the root paths for s: drive resources to be copied to the local computer.
  4. The script will find all of the .tif files that are in the folders and sub folders of the directory trees listed in the Get_derivatives_from_these_paths.txt file. and then make a flat list of .jpeg derivative files from those .tif files in the C:\Derivatron_2.0\derivatives folder.
  5. The .bat file itself has commented documentation in it that out lines how the commands that are used work and should be helpful if the script needs to be modified or if a different script needs to be created. simply open the Derivatron_2.0.bat file in Notepad++ and change the lexer to BAT to see the script and the commands highlighted

Derivatives (folder)

  1. Found at : C:\Derivatron_2.0\derivatives on the local HD of a PC workstation
  2. This is the destination folder for all of the copied .jpeg derivatives

Get_derivatives_from_these_paths.txt

  1. Found at : C:\Derivatron_2.0 on the local HD of a PC workstation
  2. This file is the list of paths to root folders from which the derivatron_2.0.bat script will copy media files and make derivatives.
  3. This file will be cleared of entries after every run of the script.
  4. This file must be formatted with one single path per line followed by a press of the return key

filelist.txt

  1. Found at : C:\Derivatron_2.0 on the local HD of a PC workstation
  2. This is a temp file that the .bat script uses and the script manages it. no need for user intervention.

readme.txt

  1. Found at : C:\Derivatron_2.0 on the local HD of a PC workstation
  2. This readme file has directions on how to use the Derivatron tool