APIs & Integrations

CP-BWG
Contributor

Silly CLI question - how to change remote directory for ls files in CLI ??

Seems like a silly quesiton to have to ask, but I have already tried "cd" and its unrecognized.  I use "ls" to list files, but it's stuck at root. How do I traverse through the remote directory structure to see nested files and folders?

 

Doesn't work:

hs cd <path>

 

0 Upvotes
1 Reply 1
dennisedson
HubSpot Product Team
HubSpot Product Team

Silly CLI question - how to change remote directory for ls files in CLI ??

Hi @CP-BWG 

You will want to employ

hs ls

There is an optional path parameter that you can add after that.  So you could do something like this

hs ls path/pathy/pathed/here

for example.

Here is a link to the associated doc

 

(ps. It isn't a silly question.  The only silly question is the unasked question)

Thanks,

Dennis




HubSpot Community Developer ShowMake sure to subscribe to our YouTube channel
where you can find the HubSpot Community Developer Show
0 Upvotes