logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

yapet2csv - convert YAPET file to CSV file

Authors

       Rafael Ostertag rafi@guengel.ch.

Bugs

       Please report bugs to https://github.com/RafaelOstertag/yapet/issues.

Description

       Convert a YAPET file to a CSV file. The source file specified by src will not be modified.

       The resulting CSV file dst has the following format:
       ┌──────────┬────────────────────┐
       │          │                    │
       │ Column # │ YAPET record field │
       ├──────────┼────────────────────┤
       │          │                    │
       │ 1        │ Record Name        │
       ├──────────┼────────────────────┤
       │          │                    │
       │ 2        │ Host Name          │
       ├──────────┼────────────────────┤
       │          │                    │
       │ 3        │ User Name          │
       ├──────────┼────────────────────┤
       │          │                    │
       │ 4        │ Password           │
       ├──────────┼────────────────────┤
       │          │                    │
       │ 5        │ Comment            │
       └──────────┴────────────────────┘

Exit Status

0
           Successful completion.

       1
           Error while parsing command line arguments.

       2
           File dst already exists.

       3
           An error occurred.

Name

       yapet2csv - convert YAPET file to CSV file

Options

-h
           Show help.

       -c
           Show copyright.

       -V
           Show version.

       -H
           Add header line to CSV file.

       -p
           Use the master password password provided to decrypt src. The use of this option is not recommended
           for security reasons. By default, yapet2csv prompts for the master password.

       -q
           Do not produce verbose output, except for error messages. By default, yapet2csv will print a period
           for each converted password record to stdout.

       src
           Source YAPET fiel name which will be converted to CSV and stored in dst. If the file path does not
           end in .pet, yapet2csv will append .pet to the operand.

       dst
           Pathname where the converted YAPET file will be stored. The file must not exist prior to invoking
           yapet2csv.

See Also

yapet(1), csv2yapet(1)

YAPET 2.6                                          2022-03-12                                       YAPET2CSV(1)

Synopsis

       yapet2csv [[-c] [-h] [-V]] | [[-H] | [-p password] | [-q] [-s separator]] srcdst

See Also