cli:tmss10expirefiles
This is an old revision of the document!
Table of Contents
TMSS10ExpireFiles
Synopsis
TMSS10ExpireFiles [-C Customer Filter] [-R Expiry Date Range] [-S logon string] [-X Exclusion File] [-t Test Mode]
Description
TMSS10ExpireFiles will expire and delete all files from the TapeTrack server that match the customer filter and fit within the specified date range.
Options
-C
Customer-ID filter.-R
Range of dates to delete files.-S
The logon string argument sets the Server logon information-X
Files to be excluded from deletion.-t
True to run in test mode
Notes
Technical Support
The TapeTrack Software is commercially supported by a full time help desk staff. If you are experiencing problems or want some advice on how to configure or use the product please see the Accessing Technical Support page.
Examples
To delete all files with an expiry date within the year 2015 for customer US02
Command line syntax
C:\Users\Scott>tmss10expirefiles -S username:-password@tapetrack.com -R "Y-2:y-2" -C "US02"
Output
ZBT001N-11:47:41 TMSS10ExpireFiles (c) GazillaByte 1998-2017 ZBT002N-11:47:41 Compiled Jul 4 2017 at 19:58:34 ZBT010I-11:47:41 this program will delete all expired files that have been uploaded to the TapeTrack Server ZBT006N-11:47:41 Running Under Windows 10 (build 15063 10.00) on platform x64 ZBT000N-11:47:41 Host is Little Endian ZBT000N-11:47:41 Host is ASCII ZBT000N-11:47:41 Binary is 64 bit ZBT000N-11:47:41 Current Working Directory is C:\ ZBT004N-11:47:41 Today is Tuesday, September 26, 2017 ZBT005N-11:47:41 Running on GazillaByte ZBT006N-11:47:41 Process ID 16044 ZBT000N-11:47:41 Parsing and validating command arguments ZBT001N-11:47:41 Server Interpreted as: Server(tapetrack.com) Port(5000) User(username) Password(******) ZBT000N-11:47:41 Explicit date range requested as: Y-2:y-2 ZBT000N-11:47:41 Start date interpreted as: Thursday, January 01, 2015 ZBT000N-11:47:41 End date interpreted as: Thursday, December 31, 2015 ZBT000N-11:47:41 Days apart: 365 ZBT000N-11:47:41 Checking for Environment Variable 'ESPDATERANGEOFFSETFILE' ZBT002N-11:47:41 Program Options: ZBT002N-11:47:41 (C) Customer Filter=US02 ZBT002N-11:47:41 (R) Expiry Date Range=Y-2:Y-1 ZBT002N-11:47:41 (S) Server=<VALUE HIDDEN> ZBT002N-11:47:41 (X) Exclusion file= ZBT002N-11:47:41 (t) Test Mode (no updates)=false ZBT000N-11:47:41 Arguments parsed and validated with 0 errors ZBT000N-11:47:41 Checking for environment variable TMSSSERVERPROXY ZBT000N-11:47:41 Connection to server (192.241.211.124) successful ZBT000N-11:47:41 Logging on to TapeTrack Server ZBT000N-11:47:41 Registering Client at MACID(00:8c:fa:8e:02:f5:00:00) Result(Request OK) ZBT000N-11:47:42 Last Logon was at Tuesday, September 26, 2017 - 11:47:07 from ZBT000N-11:47:42 Welcome to Server: Production ZBT000N-11:47:42 Listing Customers ZBT000N-11:47:42 Customer List successful: Customers(3) Excluded(5) ZBT000N-11:47:42 Processing Customer: US02-Los Angeles Data Center (326/1) ZBT000N-11:47:42 Candidate File(2015_Report.csv) Expiry(Thursday, October 01, 2015) ZBT000N-11:47:42 Delete Result: Request OK ZBT000N-11:47:42 Closing connection to TapeTrack Server ZBT000N-11:47:42 Session Statistics: ZBT000N-11:47:42 Seconds Connected: 1 ZBT000N-11:47:42 Queries Completed: 6 ZBT000N-11:47:42 Bytes Sent: 328 ZBT000N-11:47:42 Bytes Received: 1,224 ZBT900N-11:47:42 Program Complete ZBT901N-11:47:42 Elapsed time 0 minutes and 1 seconds ZBT991N-11:47:42 CRC values for this session: 0x22ffaf54 (0xfa48284) ZBT992N-11:47:42 Number of records written: 44 ZBT993N-11:47:42 Number of bytes written: 2,488 ZBT999N-11:47:42 Program ended
Changelog
Cannot load rss feed.
cli/tmss10expirefiles.1551304247.txt.gz · Last modified: 2025/01/21 22:07 (external edit)