https://github.com/qks1lver/filetracker
Super lightweight program to keep track of files you already have
https://github.com/qks1lver/filetracker
file-organiser file-organization file-tracking organizer
Last synced: 4 months ago
JSON representation
Super lightweight program to keep track of files you already have
- Host: GitHub
- URL: https://github.com/qks1lver/filetracker
- Owner: qks1lver
- Created: 2018-06-06T08:29:29.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-23T05:54:38.000Z (over 5 years ago)
- Last Synced: 2024-08-13T07:09:56.956Z (8 months ago)
- Topics: file-organiser, file-organization, file-tracking, organizer
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - qks1lver/filetracker - Super lightweight program to keep track of files you already have (Python)
README
## filetracker.py
Remember that time when you have a bunch of files in a folder that you forgot, and now you see a file in a new location that might actually be the same file in that folder that you forgot...
Worry not! Because this silly little program will help you keep track of the files you already have and where they were.So easy:
1. Copy filetracker.py to where ever you want it
2. Enter $ python3 filetracker.py \ \```
$ python3 filetracker.py foo/ bar.txt
```If all filenames are new, then it just shows how many files you are keeping track.
```
$ python3 filetracker.py ../tmp/ inventory
File count: 3
```If there are files with names that already exist, they won't be added to the tracker-file. Instead, their filename and previous location will be shown
```
$ python3 filetracker.py ../tmp/ inventory
Duplicated: file01.jpg @ ../tmp/
Duplicated: file02.txt @ ../tmp/
Duplicated: file03.csv @ ../tmp/
File count: 3
```The tracker-file is just a tab-delimited file containing a list of the filenames and their directory path
```
$ more inventory
file01.jpg ../tmp/
file02.txt ../tmp/
file03.csv ../tmp/
```