-
PyFiTransfer is a simple program developed as a way to easily transfer files of a given extension-type from one directory to a destination directory.
-
Originally created as a personal solution for easily moving gaming screenshots to my primary "pictures" folder without having to manually copy-and-paste various screenshots after each time playing a game.
Coming Soon!
-
Download source code from the PyFiTransfer GitHub repo.
-
Extract contents of the containing
**.zip
file to desired install location. -
Navigate to directory containing extracted contents, and open said folder within a terminal.
-
Enter
pip install -r requirements.txt
to install all dependencies for this package. -
Finally, move the
"PyFiTransfer-vx.x.x"
directory to your global Python 3rd-party package installation directory to be able to importPyFileTransfer
like any other module:"path/to/python/Lib/site-packages/PyFiTransfer-vx.x.x"
-
Done!
-
If you've already installed PyFiTransfer using pip:
-
In an open python environment, simply import the PyFiTransfer package and run the
main.py
script like so:import PyFiTransfer >>> PyFiTransfer.main()
-
-
If you have NOT already installed PyFiTransfer to your Python environment:
- Start by opening the python script located within the installation directory:
"path/to/PyFiTransfer/PyFiTransfer/main.py"
- Start by opening the python script located within the installation directory:
-
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: