DEV Community

Miller Correa
Miller Correa

Posted on • Edited on

2

Estructura de carpetas visual Google Drive

Objetivo

Una de las mejores maneras para entender algun tipo de estructura organizativa, corresponde a los graficos. A dia de hoy Google Drive no cuenta con las herramientas para visualizar graficamente una estructura de carpetas. En sistemas unix existe el comando treeel cual nos permite mostrar de manera gráfica y de forma estructurada la jerarquía de los directorios de nuestro sistema operativo.

Y como logramos tener esta estructura visual en Google Drive?

Avances encontrados

Actualmente se tienen algunas iniciativas las cuales utilizan Google Apps Script para generar un Tree View.

Posible mejora

Se sugiere utilizar la tecnolog[ia de Mermaid para generar graficos en MarkDown a traves de la estructura generada por el Script de Google y obtener una representaci[on visual de la estructura de carpetas.

flowchart LR
    A[Hard edge] -->|Link text| B(Round edge)
    B --> C{Decision}
    C -->|One| D[Result one]
    C -->|Two| E[Result two]
Enter fullscreen mode Exit fullscreen mode

En Notion se veria algo asi

Image description

Otra opción más avanzada

Se puede utilizar la API de https://app.diagrams.net/ para crear un grafico que incluya los enlaces a cada uno de las carpetas y podamos navegar de manera m[as rapida.

Si bien diagrams no tiene API si puede usar una herramienta para manipular los diagramas de diagrams.net https://stackoverflow.com/questions/70543817/is-there-draw-io-api-to-manipulate-diagrams

Solución definitiva

Rclone nos proporciona el comando Tree

$ rclone tree remote:path
/
├── file1
├── file2
├── file3
└── subdir
    ├── file4
    └── file5

1 directories, 5 files
Enter fullscreen mode Exit fullscreen mode

Image of Datadog

Master Mobile Monitoring for iOS Apps

Monitor your app’s health with real-time insights into crash-free rates, start times, and more. Optimize performance and prevent user churn by addressing critical issues like app hangs, and ANRs. Learn how to keep your iOS app running smoothly across all devices by downloading this eBook.

Get The eBook

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more