Skip to content

Traversing through the folders

Prabaha edited this page Dec 18, 2021 · 1 revision

Walking through directories

Syntax

g {index}

Example

=================================================================
[0] directory_1
[1] directory_2
[2] directory_3
[3] directory_4
=================================================================
...
YOUR CURRENT LOCATION: "your_current_path"
...
=================================================================
pydirman> 

To go into 'directory_1' : enter g 0

=================================================================
[0] file_1
[1] file_2
=================================================================
...
YOUR CURRENT LOCATION: "your_current_path/directory_1"
...
=================================================================
pydirman> 

To return to previous directory: enter p

=================================================================
[0] directory_1
[1] directory_2
[2] directory_3
[3] directory_4
=================================================================
...
YOUR CURRENT LOCATION: "your_current_path"
...
=================================================================
pydirman> 
Clone this wiki locally