skicka
Copy files to/from Google Storage
TLDR
Upload a file/folder to Google Drive
Download a file/folder from Google Drive
List files
Show amount of space used by children folders
Create a folder
Delete a file
SYNOPSIS
skicka [options] recipient
PARAMETERS
-f sender
Sets the 'From:' address for the email.
-c cc-address
Specifies a 'Cc:' address for carbon copying.
-b bcc-address
Specifies a 'Bcc:' address for blind carbon copying.
-s subject
Sets the subject of the email.
-a attachment
Attaches the specified file to the email.
-m message
Sends a message body from the command line, useful for short messages.
-F configfile
Use an alternative config file.
DESCRIPTION
The skicka command is a simple utility for sending email from the command line in Linux. It's designed for basic mail sending tasks, often used in scripts or automated processes where a full-fledged mail client is not necessary. It is important to note that skicka relies on a configured mail transfer agent (MTA) such as Sendmail or Postfix to handle the actual delivery of the email.
skicka is usually configured with a small configuration file which allows it to send email with various settings set as defaults. The program can send attachments, which will be MIME encoded with the correct headers.
While straightforward to use, skicka lacks advanced features found in more robust mail clients. It's essential to ensure that your system's MTA is properly configured before using skicka to send emails. It is a very useful and easy-to-use program for sending mail from the command line.
CAVEATS
Requires a properly configured MTA (e.g., Sendmail, Postfix) on the system. Error messages may be cryptic without detailed MTA logs. Lacks advanced features like encryption or DKIM signing.
SECURITY CONSIDERATIONS
When using skicka in scripts, be cautious about exposing sensitive information such as email credentials or API keys. Avoid hardcoding such details directly in the script. Consider using environment variables or dedicated configuration files with restricted permissions.
CONFIGURATION FILE
The configuration file stores default settings for the program. This can include the default sending addresses and SMTP server information. See the manual pages for configuration file details.