Skip to content
This repository was archived by the owner on Jun 16, 2024. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodesExctractor

Hi there! You're probably so tired of unpacking one archive at a time ... Right? Then you can try to install my script.

Briefly about him:
This script was created specifically to simplify the installation of models for the program 'Stick Nodes'. In short, you need to put archives and format files .nodes to folder 'sdcard/Downloads/Nodes', run termux, and run the script with the desired parameters. And it will unzip the archives and move the all files in .nodes format to the specified folder. (Depends on the key that you specify when you run the script) So, this script works with two folders: 'sdcard/Downloads' and 'sdcard/Stick Nodes'.

sdcard/Downloads/Nodes:
/Result If you using -cnd -mnd -d, results wi be in this dir.
ls.txt This is a working file in which the staple stores the names of the files I need to do something.
sdcard/Stick Nodes:
/stickfigures From this folder, the program Stick nodes draws models.

As you can see, the folder 'Stick Nodes' is in the memory of the device, because of this we need to give permission for Termux to write files...

Installing

To install the script and start using it, you need to install the Termux. I heard something has changed there and the author of the program wants everyone to switch to the version with F-Droid. I recommend installing Termux from an F-Droid source.

F-Droid Termux on F-Droid (Click Here)
Play Market Termux on PlayMarket (Click Here)

Installation via script 'installer'

1 | Setting up Termux
  1. Launch the app

  2. Copy:

apt update $$ apt upgrade

Paste it to Termux and press enter.

  1. To download the script itself and the installation file we need to install the git package. To do this, write a command:
apt install git

And press enter.

2 | Script installation
  1. Now, using the git, download the folder with all the scripts. To do this, write a command:
git clone https://github.com/Dolfost/nodesExctractor  
  1. Go to the folder with the script:
cd nodesExctractor
  1. We will make the installation script executable:
chmod +x install
  1. We run a script for installation, and we do everything that is asked there ...

  2. To run the script, we must be in the folder with it (/nodesExctractor). To run, write:

./nodesExctractor <parameters here>
  1. How to use the script, read below ...

Manual installation

1 | Setting up Termux
  1. Launch the app.

  2. Copy:

apt update $$ apt upgrade

Paste it to Termux and press enter.

  1. Now we need to give Termux permission to work with the folders on the phone. To do this, write:
termux-setup-storage

A spit window in which you will click 'Allow'.

2 | Installing the script
  1. Now you need to download the script using the command:
git clone https://github.com/Dolfost/nodesExctractor

1.1 Before downloading, make sure you have the git installed

pkg install git
  1. Now let's go to the folders with the script:
cd nodesExctractor
  1. Let's make the script executable:
chmod +x nodesExtarctor
You may need to whiten the script someday:

3.1 Let's make the uninstall script executable:

chmod +x uninstaller
  1. To run the script, we must be in the folder with it (/nodesExctractor). To run, write:
./nodesExctractor <parameters here>
  1. How to use the script, read below ...

Using

Soon

Conclusion

If you want to delete a script, you can delete the folder nodesExctractor through the command:

rm -rf nodesExctractor
Take note:

To do this, you must be in the directory where the folder 'nodesExctractor' is located.

But I recommend deleting the script using a file 'uninstall', he located in nodesExctractor dir.
In the process, it will ask you if you want to delete the folder 'Nodes', he is located in 'sdcard/Downloads'.

Attention:

Before deleting a folder 'sdcard/Downloads/Nodes', check if there is anything important left in it.

Take a note:

In the scripts, as in this tutorial there may be (or rather there are) gross errors in the use of English... Sorry...

I'm not collecting your information!

About

Nodes Extractor - this is a bash script written specifically for termux using vim. Its purpose is to facilitate and speed up the installation of models for the program Stick Nodes

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages