just for fun
for detailed logs see [docs/file_walker.md](File Walker)
just for fun
dosyanın adında türkçe karakter olarak ı ve ğ var. aynı kodu linux (windows, ubuntu/bash) ile çalıştırınca sorunsuz çalışıyor.
Windows altında çalıştırınca dosya adında saçmalıyor. dosya adını okurken ı harfini i, ğ harfini g diye okuyor, utf8 çevirirken bu 2 harfe dokunmuyor. haliyle dosyanın adı yanlış oluyor.
C:\Users\kc\Documents\Python-Projects\encryptBackup>python listTree.py
Windows-10-10.0.15063
mbcs
ascii
cp850
testFolder/
adindan Tr karakter olan bir dosya-³þ÷-ig.txt 'adindan Tr karakter olan bir dosya-\xfc\xe7\xf6-ig.txt'
<type 'str'>
adindan Tr karakter olan bir dosya-┬│├¥├À-ig.txt 'adindan Tr karakter olan bir dosya-\xc2\xb3\xc3\xbe\xc3\xb7-ig.txt'
<type 'str'>
C:\Users\kc\Desktop\testFolder\adindan Tr karakter olan bir dosya-┬│├¥├À-ig.txt has type <type 'str'>
file C:\Users\kc\Desktop\testFolder\adindan Tr karakter olan bir dosya-┬│├¥├À-ig.txt not found
os.walk fonksiyonuna verdiğin değer Unicode olursa, dosya isimlerini de unicode döndürür diyor ama yalan, charmap'de bulamadım diye bağarıyor.
https://stackoverflow.com/questions/1052225/convert-python-filenames-to-unicode
Changed in version 2.3: On Windows NT/2k/XP and Unix, if path is a Unicode object, the result will be a list of Unicode objects. Undecodable filenames will still be returned as string objects.
dosyaları sıkıştırdıktan ve şifreledikten sonra eşit parçalara bölmek için serial. modülü
cbor2 vs pickle ?
sıkıştırma en efektif şekilde nasıl yapılır?
LZMA sıkıştırma (şifrelemeden önce olması gerekiyor)
alet network bazlı bir backup olacağı için local makinede olabildiği kadar sıkışması iyi.
Trade-Off:
sıkıştırma işlem süresi - networke upload/download süresi.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.