You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parser.add_argument("-f", "--file", help="<UserCid>.dat file to be parsed")
146
-
parser.add_argument("-o", "--outfile", help="File name to save json representation to. When pressent, overrides default name", default="OneDrive.json")
152
+
parser.add_argument("-o", "--outfile", help="File name to save json representation to. When pressent, overrides default name")
147
153
parser.add_argument("--pretty", help="When exporting to json, use a more human readable layout. Default is FALSE", action='store_true')
OneDriveExplorer is a command line and GUI based application for reconstructing the folder structure of OneDrive from the `<UserCid>.dat` and `<UserCid>.dat.previous` file.
4
-
5
-
## Usage
6
-
3
+
# Usage:
7
4
## Command line
8
-
9
-

5
+

10
6
11
7
To use OneDriveExporer, simply provide the `.\<UserCid>.dat` file to the `-f` argument
OneDriveExplorer will produce a JSON file called OneDrive.json containing the folder structure. The `--pretty` option can be used to output the JSON into a more human readable layout.
18
-

19
-
11
+

20
12
## GUI
21
-
22
13
The GUI consists of two panes: the folder structure on the left and details on the right. By clicking on one of the entries in the left pane, the details pane will populate with various data such as name, whether it is a file or folder, UUIDs and the number of children, if any.
23
14
24
15
To use the GUI, ttktheme package needs to installed. You can do this with the provided requirements.txt file as follows:
16
+
> pip install -r requirements.txt
25
17
26
-
```bash
27
-
pip3 install -r requirements.txt
28
-
```
29
-
30
-

31
-
32
-
## File location
33
-
34
-
The default file location of the `.dat` files are:
0 commit comments