Skip to content

macvfx/p5ArchiveCheck

Repository files navigation

P5 Check (script)

Check local Archiware P5 server if selected files in a folder at a path are archived. More Archiware scripts in Archiware repo.

Overview

  • The script creates a list of files and checks if P5 has a "handle" for a file at a path
  • Files not archived will be listed in a text file.
  • Files archived by P5 will be checked for relevant metadata and listed in a csv (spreadsheet) file.
  • P5 Check (Dialog) uses the swiftDialog project for notifications of script checking progress.
  • P5 Check (Perl) uses a perl code block to better handle filenames with commas.

P5 Archive Manager (app)

Check P5 if a folder is archived on a local remote P5 server. P5ArchiveManager-UI

macOS Swift License

Overview

P5 Archive Manager is a macOS application that verifies whether files in a selected folder have been archived by Archiware P5 in a local or remote P5 server in a custom Archive index or the Default-Archive index.

How to Use

  1. Open the P5 Archive Manager application.
  2. Add a remote P5 server with "Managed Servers"
    • Configure a server name
    • Add the IP
    • Set the Port (default is 9001)
    • Add a user name
    • Select a P5 Archive Index (default is Default-Archive)
  3. Select a server to use.
  4. Drag any folder onto the main window.
  5. Click on "Run Verification Check" to begin verification.
  6. Note: You can drop files to check then select a server, which allows you to check various servers.
  7. Watch the live progress updates.
  8. When complete, the csv of archived files and their metadata, or the list of files not archived, are listed in the app so you can open and inspect as needed

Output Files

  • A list of files NOT archived (if any).
  • A CSV listing all archived files with metadata.
  • A full log of the process.
  • A backup tar.gz of all temp intermediate data fetched from P5.

Requirements

  • macOS 14.6 minimum
  • Archiware P5 server that will be checked is remote or local as configured by your network
  • Files archived in your custon set archive index or Default-Archive index
  • 'nsdchat' available at /usr/local/aw/bin/nsdchat

Changelog

  • FIXED in 2.8 build 2 -- Sometimes the app would open a previous output file, new output folder fixes this
  • CHANGED in 2.8 build 2 -- Output folder created by date and folder checked
  • CHANGED in 2.8 -- Added P5 volume ID and location fields for each volume (i.e. tape) in output csv
  • FIXED in 2.7 -- Show log file in Output files section from the start of checking
  • CHANGED in 2.6 -- Configure a P5 Archive Index or use the default Default-Archive option
  • FIXED in 2.4 -- Adding a new server would not show up until you left that section. Thanks to David Fox!
  • CHANGED in 2.4 -- Text file of un-archived items or the csv of archived files no longer auto-open. Also thanks David.
  • CHANGED in 2.4 -- minimum macOS is now 14.6 (this was required by a swift change to fix the server add bug)

Known Issues

  • KNOWN ISSUE -- UI window size needs to be manually re-sized occassionally depending on output files in the list
  • KNOWN ISSUE -- FIXED in 2.6 (Issue only for 2.5 and below) -- Only checks files in the Default Archive index.

P5 Archive Checker (app)

Check P5 if a folder is archived on a local P5 server. P5 Archive Checker Help Not Archived

Overview

P5 Archive Checker is a macOS application that verifies whether files in a selected folder have been archived using Archiware P5. Users simply drag and drop a folder onto the app to begin an automated verification process.

How to Use

  1. Open the P5 Archive Checker application.
  2. Drag any folder onto the main window.
  3. The verification will begin automatically.
  4. Watch the live progress updates.
  5. When complete, opens automatically the generated:
  • Archive CSV report with metadata
  • Or the files not archived

Output Files

  • A list of files NOT archived.
  • A CSV listing all archived files with metadata.
  • A full log of the process.
  • A backup tar.gz of all technical intermediate data.

Requirements

  • macOS
  • Archiware P5 server that will be checked is local
  • Files archived in Default Archive index.
  • 'nsdchat' available at /usr/local/aw/bin/nsdchat

Known Issues

  • FIXED in v.1.6 -- If the file names contain commas then the resulting CSV file will be messy.
  • FIXED in v.1.6 -- If the app stays at 0% checking then quit the app and try again.

License

MIT License - See LICENSE file for details.

Acknowledgments

Built for use with Archiware P5

About

Check P5 if a folder is archived with a simple script or app

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages