<commit_before># seafile-cli-windows
Seafile CLI application for windows

[![Build status](https://ci.appveyor.com/api/projects/status/atvay3aubsfg30b7/branch/master?svg=true)](https://ci.appveyor.com/project/corux/seafile-cli-windows/branch/master)
[![Build Status](https://travis-ci.org/corux/seafile-cli-windows.svg?branch=master)](https://travis-ci.org/corux/seafile-cli-windows)

This application can be used to upload files to [Seafile](https://www.seafile.com/) using the command line.

## Quick Start

1. Retrieve a personal token for future uploads:
   ```sh
   SeafileCli.exe token --server https://seafile.example.com --username <EMAIL> --password <PASSWORD>
   ```
2. Upload several files to the library "My Library" and directory "Example/Files":
   ```sh
   SeafileCli.exe upload --server https://seafile.example.com --token your-token --library "My Library" --directory "Example/Files" --files /home/user/file1.txt /home/user/file2.txt
   ```
3. Upload a directory, which contains several sub-directories and files, to the library "My Library" and directory "Example/Folder":
   ```sh
   SeafileCli.exe upload --server https://seafile.example.com --token your-token --library "My Library" --directory "Example/Folder" --files /home/user/folder-to-upload/**/* --keep-folders
   ```<commit_msg>migrated to travis-ci.com<commit_after># seafile-cli-windows
Seafile CLI application for windows

[![Build status](https://ci.appveyor.com/api/projects/status/atvay3aubsfg30b7/branch/master?svg=true)](https://ci.appveyor.com/project/corux/seafile-cli-windows/branch/master)
[![Build Status](https://travis-ci.com/corux/seafile-cli-windows.svg?branch=master)](https://travis-ci.com/corux/seafile-cli-windows)

This application can be used to upload files to [Seafile](https://www.seafile.com/) using the command line.

## Quick Start

1. Retrieve a personal token for future uploads:
   ```sh
   SeafileCli.exe token --server https://seafile.example.com --username <EMAIL> --password <PASSWORD>
   ```
2. Upload several files to the library "My Library" and directory "Example/Files":
   ```sh
   SeafileCli.exe upload --server https://seafile.example.com --token your-token --library "My Library" --directory "Example/Files" --files /home/user/file1.txt /home/user/file2.txt
   ```
3. Upload a directory, which contains several sub-directories and files, to the library "My Library" and directory "Example/Folder":
   ```sh
   SeafileCli.exe upload --server https://seafile.example.com --token your-token --library "My Library" --directory "Example/Folder" --files /home/user/folder-to-upload/**/* --keep-folders
   ```
{'fraction_non_alphanumeric': 0.15384615384615385, 'fraction_numerical': 0.006854531607006854, 'mean_word_length': 4.140900195694717, 'pattern_counts': {'":': 4, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 16, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4636262', 'n_tokens_mistral': 841, 'n_tokens_neox': 847, 'n_words': 210}