User Tools

Site Tools


tools:scan_slices

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:scan_slices [2024/05/10 11:16] vigneshtools:scan_slices [2024/05/30 15:00] (current) vignesh
Line 1: Line 1:
 ====== Scan Slices ====== ====== Scan Slices ======
 +{{ :tools:scan_slices1.gif?200 |}}
 ** What is the use of the tools ? ** \\ ** What is the use of the tools ? ** \\
   Scan each slice directory and compares the details with metaslice db and prints the results in table-format   Scan each slice directory and compares the details with metaslice db and prints the results in table-format
Line 17: Line 18:
 | scan_slice SLICE_NAME               | Print details of specific slice              | You should run this  script in slice directory & provide the specific slice name | | scan_slice SLICE_NAME               | Print details of specific slice              | You should run this  script in slice directory & provide the specific slice name |
 | scan_slice /path/of/slice/directory | Print all slice details in a given directory | You should provide the absolute path of slice directory as argument | | scan_slice /path/of/slice/directory | Print all slice details in a given directory | You should provide the absolute path of slice directory as argument |
 +|**Optional Arguments** |
 +| -d mismatched date                  | Prints slices which have date mismatch       | You should provide this -d as argument to any of the first 3 options |
 +| -s slice missing in db              | Prints slices which are not present in db    | You should provide -s as argument to any of the first 3 options |
  
 ** Description of each column ** \\  ** Description of each column ** \\ 
Line 31: Line 35:
  
  
-** Example ** \\+** Example ** \\
 /usr/local/share/trisul-hub/scan_slices.sh . /usr/local/share/trisul-hub/scan_slices.sh .
 {{:tools:scan_slice.png?900|}} {{:tools:scan_slice.png?900|}}
 <note>You can get the details of specific slice or every slice in the directory </note> <note>You can get the details of specific slice or every slice in the directory </note>
  
 +** Example 2 ** \\
 +/usr/local/share/trisul-hub/scan_slices.sh . -d
 +{{:tools:scan_slices2.png?900|}}
  
tools/scan_slices.1715319976.txt.gz · Last modified: 2024/05/10 11:16 by vignesh