- 1
Gettin parent node id
Hi, I have made a python project that scans the entire directory that is inputted. I tried to do some logic on registering which parent folder every file and folder belongs to, but i seem to get back to some logical error all the time. Im not sure how to solve it. Are there anyway to make it? Ive been using os.walk to scan files and folders and insert everything into a sqlite3 db. The parent id are based on every rows primary key (node). The code is too large to paste here. Anyways, Im only looking for pointers on what to look more into as I would love to learn more on my own and some logic/theory to contemplate.
6 Réponses
+ 1
Its funny how people downvote questions without telling why.
+ 1
Hi,
This post was from a few months back. Thanks for replying though. Here is my code somehiw done:
https://codereview.stackexchange.com/questions/269565/code-to-scan-filesystem-store-every-path-into-sqlite-and-update-only-when-somet
+ 1
Would be fun to use as a variant of diff tool to see affected files before and after playing a malware, installing a program etc.
+ 1
If you have any programming tips on that project. I would love to learn something from it! 😄 Ash