-
PyFiTransfer is a program built to transfer files of a given extension-type from their source directory to a destination directory.
-
There are two different program versions: a CLI version and a GUI version.
-
Not meant to be used directly within a Python environment, but rather as a standalone CLI/GUI application.
-
To install PyFiTransfer using
pip
, enter the following command within the terminal:-
python -m pip install PyFiTransfer
-
-
Done!
-
Start by doing one of two things:
-
Either:
- A. Download source code
*.zip
archive from the PyFiTransfer GitHub repo "releases" tab, and extract the contents to your desired installation directory.
- A. Download source code
-
Or:
-
B. Clone the repo with the git client of your choice by entering the following command:
-
git clone https://github.com/schlopp96/PyFiTransfer/releases/latest/
-
-
-
-
Navigate to directory containing extracted contents, and open said directory within a terminal.
-
Install all dependencies for this package by entering the following command:
-
pip install -r requirements.txt
-
- Done!
-
If you HAVE installed
PyFiTransfer
via pip, you can launch the PyFiTransfer GUI by entering the following command:pyfitransfer-gui
-
If you HAVE NOT installed
PyFiTransfer
usingpip
:- Open the python script titled
main.py
located within the installation directory:"~/PyFiTransfer/main.py"
- Open the python script titled
-
To select the source directory containing the files you wish to transfer, click the "Browse" button located in the top row.
-
To select the destination directory you wish to transfer the files to, click the "Browse" button located in the middle row.
-
Fill out the "file type" input field in the third row to choose what file-type to transfer
-
Click the
"Start Transfer"
button.- The transfer will begin, and the progress will be displayed in the log output box.
-
If you HAVE installed
PyFiTransfer
via pip, you can launch the PyFiTransfer CLI by entering the following command:pyfitransfer-cli
-
If you HAVE NOT installed
PyFiTransfer
usingpip
:- Open the python script titled
CLI_main.py
located within the installation directory:"~/PyFiTransfer/CLI_main.py"
- Open the python script titled
-
Enter the file-path to the directory acting as the file transfer's destination.
-
Enter the file-type of the files you wish to transfer (not including the "." that proceeds the file type).
- Example:
- You would enter (without the quotations)
"exe"
when needing to migrate files with the".exe"
extension.
- You would enter (without the quotations)
- Example:
-
If everything is correctly validated, a success message is returned to the console, alongside a list of files that were successfully transferred.
- If an error occurs, the program will display an error message before exiting.
-
Finally, the user is prompted to press the
[ENTER]
key to exit the process.
-
If you have any questions, comments, or concerns that cannot be alleviated through the project's GitHub repository, please feel free to contact me through my email address:
schloppdaddy@gmail.com