Kryptor
  • Introduction
  • Features
  • FAQ
  • Installation
  • Usage
  • Tutorial
    • Running Kryptor
    • Specifying files
    • Entering a passphrase
    • Encrypting files for yourself
    • Encrypting files for others
    • Encryption options
    • Decrypting your files
    • Decrypting received files
    • Decryption options
    • Signing files
    • Signing options
    • Verifying signatures
    • Generating a new key pair
    • Key pair options
  • Specification
  • Known limitations
  • Changelog
  • Roadmap
Powered by GitBook
On this page
  1. Tutorial

Specifying files

When referencing file names/paths that contain spaces, you must surround them with "speech marks":

$ kryptor -e "GitHub Logo.png"
$ kryptor -e "C:\Users\samuel-lucas6\Downloads\GitHub Logo.png"​

Files in the same directory as the kryptor executable can be specified using a file name:

$ kryptor -e file.txt​

However, files that are in a different directory (e.g. in your Documents folder) must be specified using a file path:

$ kryptor -e "C:\Users\samuel-lucas6\Documents\file.txt​"

Multiple files and/or directories can be specified at once:

$ kryptor -e file1.txt file2.jpg file3.mp4 Photos Videos

If you've installed Kryptor as a package, these rules apply to the working directory. The cd command on Windows and pwd on Linux/macOS can be used to print the working directory.

Last updated 7 months ago