Using directory switches in ADB

When installing eOS using windows I am in the platform-tools directory that I have renamed that directory just PT35. I want to keep all the files being loaded on the device in a sub-directory inside the PT35 folder. For instance Pix6a or Pix4a5g.

What switch command do I use in the command window? Like how do I point to PT35/Pix6a, what is the syntax or switch that I use in the ABD command windows?

Also is this the same in Linux? I will be switching to loading in Linux in the near future.

Regain your privacy! Adopt /e/OS the deGoogled mobile OS and online servicesphone

You just did it! :slight_smile:

I am answering from a Linux view; it is / was the same in Windows (but it seems, if one looks it up, to me made more complex by shortcut methods, perhaps).

So if you already

cd PT35

your Pixel 6a ROM is now in the “local” folder Pix6a – we use no leading /, because the Pix6a folder is local to where you are now.

So

./adb sideload Pix6a/e-2.5-t-xxxxxx-pixel.zip

should do the job.


As you have asked the question the way you did … I am assuming that you will use the ./ convention to say “use the adb command from here” … but much easier to learn to

In Windows Adding adb path to the environment variables
In Linux Add the path to you PC configuration

then you can use you adb commands system wide.

So I seem to have extended from the “the/path/to” objects (your “source e-filename”) to “the/path/to” commands and $PATH.

2 Likes

aibd,

Thanks for all your great posts, I enjoy and appreciate your mentoring. :sunglasses:

1 Like

This topic was automatically closed after 90 days. New replies are no longer allowed.