File info grabber

From UA Libraries Digital Services Planning and Documentation
(Difference between revisions)
Jump to: navigation, search
(New page: ==File_info_grabber consists of== # file_info_grabber.rb ==Get this script== # For a copy of the script down file_info_grabber.zip and extract file_info_grabber.rb # This application is ...)
 
 
Line 5: Line 5:
 
==Get this script==
 
==Get this script==
 
# For a copy of the script down file_info_grabber.zip and extract file_info_grabber.rb
 
# For a copy of the script down file_info_grabber.zip and extract file_info_grabber.rb
# This application is meant to run under the Ruby Shoes GUI module that can be found here[[http:\\shoesrb.com\]] and downloaded and installed for free.
+
# This application is meant to run under the Ruby Shoes GUI module that can be found here[http://shoesrb.com] and downloaded and installed for free.
 
# [[image:file_info_grabber.zip]]
 
# [[image:file_info_grabber.zip]]
  
 
==file_info_grabber.rb==
 
==file_info_grabber.rb==
# This application will collect filename, extention, file size, parent directory, and the name of the output file it is part of and put it all into a CSV comma delimited file for use in some other script or program.
+
# This application will collect filename, extension, file size, parent directory, and the name of the output file it is part of and put it all into a CSV comma delimited file for use in some other script or program.
 
# Digital services uses scripts like this to collect many different types of information from lots of sources. this script can be edited easily to collect other types of data if need be.
 
# Digital services uses scripts like this to collect many different types of information from lots of sources. this script can be edited easily to collect other types of data if need be.
 +
# A Ruby script containing Shoes code can be invoked by running Shoes.exe and opening the Ruby app from the shoes interface. or I prefer to make a simple shortcut and in the target field put "full\path\to\shoes.exe" "full\path\to\app.rb"  and this way you can invoke the ruby script through shoes no matter where the shoes or script file are located. I find this better than making a package because it allows many users to run the application across a network while still allowing functionality to be edited adhoc
 +
 +
==A little info about Shoes==
 +
Shoes is a GUI module and framework for creating windowed applications with the Ruby programming language. To use an application that makes use of the Shoes framework you must download the installation package from their website. it is free and easy to install. The Shoes installation includes a fully functional instance of Ruby 1.9 and can handle any Ruby code you send its way. The Shoes classes and methods are tersely written and structured making them easy to implement.

Latest revision as of 12:00, 24 June 2011

Contents

[edit] File_info_grabber consists of

  1. file_info_grabber.rb

[edit] Get this script

  1. For a copy of the script down file_info_grabber.zip and extract file_info_grabber.rb
  2. This application is meant to run under the Ruby Shoes GUI module that can be found here[1] and downloaded and installed for free.
  3. File:File info grabber.zip

[edit] file_info_grabber.rb

  1. This application will collect filename, extension, file size, parent directory, and the name of the output file it is part of and put it all into a CSV comma delimited file for use in some other script or program.
  2. Digital services uses scripts like this to collect many different types of information from lots of sources. this script can be edited easily to collect other types of data if need be.
  3. A Ruby script containing Shoes code can be invoked by running Shoes.exe and opening the Ruby app from the shoes interface. or I prefer to make a simple shortcut and in the target field put "full\path\to\shoes.exe" "full\path\to\app.rb" and this way you can invoke the ruby script through shoes no matter where the shoes or script file are located. I find this better than making a package because it allows many users to run the application across a network while still allowing functionality to be edited adhoc

[edit] A little info about Shoes

Shoes is a GUI module and framework for creating windowed applications with the Ruby programming language. To use an application that makes use of the Shoes framework you must download the installation package from their website. it is free and easy to install. The Shoes installation includes a fully functional instance of Ruby 1.9 and can handle any Ruby code you send its way. The Shoes classes and methods are tersely written and structured making them easy to implement.

Personal tools