# select all the files (done)
files = FileAlchemy('../something')
for f in files:
print(f)
# filter fiels
files = FileAlchemy('../something').filter(
extension='jpeg', # done
created_at<=datetime(...),
size>'10MB',
modified_at<=datetime(...),
)
# move files (done)
fiels = FileAlchemy('../something')
.filter(
extension='jpeg',
).move('../else')
# delete files (done)
fiels = FileAlchemy('../something').delete()
-
Notifications
You must be signed in to change notification settings - Fork 0
Working with files in Python for humans
License
gastlich/filealchemy
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Working with files in Python for humans
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published