All Projects → aime-risson → pyFileManager

aime-risson / pyFileManager

Licence: MIT license
This script lets you automatically relocate files based on their extensions. Very useful from the downloads folder !

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to pyFileManager

Knock
🔑 Scan the entire internet for SSH and Telnet services. Then hack them.
Stars: ✭ 60 (+172.73%)
Mutual labels:  automatic
kafka-connect-fs
Kafka Connect FileSystem Connector
Stars: ✭ 107 (+386.36%)
Mutual labels:  filesystem
cloudstore
简易分布式云存储服务
Stars: ✭ 22 (+0%)
Mutual labels:  filesystem
php-ftp-client
📦 Provides helper classes and methods to manage FTP files in an OOP way.
Stars: ✭ 81 (+268.18%)
Mutual labels:  filesystem
sgfs
🚀Simple http file server. A open source file server, implement by golang that can be used to upload and download files. Simple to deploy, simple to use. 中文介绍:
Stars: ✭ 51 (+131.82%)
Mutual labels:  filesystem
rebed
Recreates directory and files from embedded filesystem using Go 1.16 embed.FS type.
Stars: ✭ 23 (+4.55%)
Mutual labels:  filesystem
Tagsistant
Semantic filesystem for Linux, with relation reasoner, autotagging plugins and a deduplication service
Stars: ✭ 244 (+1009.09%)
Mutual labels:  filesystem
diskover-community
Diskover Community Edition - Open source file indexer, file search engine and data management and analytics powered by Elasticsearch
Stars: ✭ 1,257 (+5613.64%)
Mutual labels:  filesystem
fatx
Original Xbox FATX Filesystem Library, Python bindings, FUSE driver, and GUI explorer
Stars: ✭ 87 (+295.45%)
Mutual labels:  filesystem
FileRenamerDiff
A File Renamer App featuring a difference display before and after the change.
Stars: ✭ 32 (+45.45%)
Mutual labels:  filesystem
project-structure-sample
Shows how to keep front end and back end separated
Stars: ✭ 91 (+313.64%)
Mutual labels:  folder
Custom-Adwaita-Folder-Icons
A repository for custom Adwaita folders to help organize directories.
Stars: ✭ 124 (+463.64%)
Mutual labels:  folder
fileutils
Golang file system utils such as copy files and directories
Stars: ✭ 19 (-13.64%)
Mutual labels:  filesystem
Sekura
Encryption tool that's heavily inspired by the Rubberhose file system (https://en.wikipedia.org/wiki/Rubberhose_(file_system)).
Stars: ✭ 51 (+131.82%)
Mutual labels:  filesystem
GitFS
A FUSE filesystem that stores data on Git
Stars: ✭ 26 (+18.18%)
Mutual labels:  filesystem
android-file-manager
A File Manager for Android
Stars: ✭ 19 (-13.64%)
Mutual labels:  filesystem
datoteka
A filesystem toolset and storage implementation for Clojure.
Stars: ✭ 59 (+168.18%)
Mutual labels:  filesystem
arch-btrfs-install-guide
Arch Linux installation guide with btrfs and snapper, this guide is based on the information from unicks.eu guide https://www.youtube.com/watch?v=TKdZiCTh3EM, and Arch Linux UEFI step-by-step installation guide https://www.youtube.com/watch?v=dOXYZ8hKdmc from ALU.
Stars: ✭ 32 (+45.45%)
Mutual labels:  filesystem
VF-BlenderAutoSaveRender
Automatically saves a numbered or dated image after every render and can extend the Blender output path with dynamic variables
Stars: ✭ 34 (+54.55%)
Mutual labels:  automatic
ffiler
File Filer; sort files into structured directory tree. Tree can be structured based on various designs such as date (file modification time), file hash, file prefix etc
Stars: ✭ 45 (+104.55%)
Mutual labels:  filesystem

Simple Python File Manager

This repository contains a Python script that lets you relocate files automatically.

How to use ?

Clone the repository:

Enter your desired folder and execute this command:
git clone https://github.com/aime-risson/pyFileManager.git

Install requirements:

Enter your pyFileManger folder and execute this command:
pip3 install watchdog

Set up the manager:

In the same directory create a new fille called manager.py
After that we will need to import our fileManager handler: MyHandler

from fileManager import MyHandler

handler = MyHandler()

Once imported we will need to create new events.
Events are used to listen to a specific folder and to relocate new files to a folder if their extensions match the desired ones.
For example:

listeningFolder = "Path/to/watched/folder" 
relocateFolder = "Path/to/desired/folder" 
extensionsToInclude = (".yourExtensionInLowerCase", ".jpg", ".png") #Tuple of strings !!!

handler.newEvent(listeningFolder, relocateFolder, extensionsToInclude)

You can use multiple events at the same time to "listen" to other folders, extensions ect...

Launch manager:

To launch manager juste add this to your code:

handler.start()

Full code:

from fileManager import MyHandler
handler = MyHandler()

listeningFolder = "Path/to/watched/folder" 
relocateFolder = "Path/to/desired/folder" 
extensionsToInclude = (".yourExtensionInLowerCase", ".jpg", ".png") #Tuple of strings !!!

handler.newEvent(listeningFolder, relocateFolder, extensionsToInclude)
handler.start()
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].