yaffs: Merge branch 'python_play'
[yaffs2.git] / direct / python / README_yaffs_import_py.txt
1 Readme for the yaffs_import.py file
2
3 python yaffs_import [scanning_path] [optional flags]
4
5 the scanning path needs to be the absolute path to the directory where you
6 wish to start scanning from. this function will scan all of the the
7 directories above this path and copy the all files in these directories.
8
9 example:
10         $  yaffs_importer.py /home/timothy/work/yaffs/
11
12
13 flags:
14         -d [number] 
15                 set the debugging message level.
16                 that debug level 0 will always be printed unless debug_level is set to -1
17                 level 0 error messages
18                 level 1 basic tasks are shown(creating, deleating,ect)(this is set as the
19                 default and is recommended)
20                 level 2 all process are shown
21                 level 3 shows minor tasks such as join_paths, ect
22                 level 4 is used for bug hunting and shows each step and in detail 
23         -ignore_hidden_directories
24                 will not copy hidden (./) directories if used.
25
26 Deleating files and folders
27         to deleate files and folders in yaffs use the yaffs_browser (the documentation still needs to be written).
28         to run the browser use this: "python yaffs_browser"
29         to deleate a file or a folder select the file or folder then go
30         Edit->Delete selected.
31
32 Clear Yaffs
33         the easiest way to clear yaffs of all files and folders is to remove
34         the emfile-2k-0 file. this file is stored in the
35         yaffs2/direct/python/ folder. 
36         the command is: rm emfile-2k-0