Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install script does rm -rf /usr for ubuntu #123

Closed
ginoputrino opened this issue May 24, 2011 · 274 comments
Closed

install script does rm -rf /usr for ubuntu #123

ginoputrino opened this issue May 24, 2011 · 274 comments

Comments

@ginoputrino
Copy link

An extra space at line 351:
rm -rf /usr /lib/nvidia-current/xorg/xorg

causes the install.sh script to do an rm -rf on the /usr directory for people installing in ubuntu.

Totally uncool dude!!! The script deletes everything under /usr. I just had to reinstall linux on my pc to recover.

Removing the space will fix this. Probably should do it quickly!!!

@Finalfantasykid
Copy link

Ya this happened to me. I wasn't sure what went wrong, but chaos ensued shortly after I ran the install script. I have to work tommorow, and require my computer, so this could be a late night reinstalling/recovering my personal files. Oh well, I guess that is what I get for alpha testing ;D

@MrMEEE
Copy link
Owner

MrMEEE commented May 24, 2011

GIANT BUG... causing /usr to be deleted... so sorry....

@MrMEEE MrMEEE closed this as completed May 24, 2011
@goncalossilva
Copy link

This made me laugh :)

@MrMEEE
Copy link
Owner

MrMEEE commented Jun 16, 2011

Yeah... I was very tired that night...

@ginoputrino
Copy link
Author

Guess it's ok to laugh about it now :-)
Btw props to MrMEEE - this driver has totally saved me from having to do cad
in windows. Legendary piece of work! I don't even mind that it wiped my
machine the first time I tried it :-)
On Jun 16, 2011 10:01 PM, "MrMEEE" <
[email protected]>
wrote:

Yeah... I was very tired that night...

Reply to this email directly or view it on GitHub:
https://github.com/MrMEEE/bumblebee/issues/123#issuecomment-1381166

@kinopyo
Copy link

kinopyo commented Jun 17, 2011

poor guy..

@gep
Copy link

gep commented Jun 17, 2011

nice...

@realyasswl
Copy link

dude. you are famous now

@ginoputrino
Copy link
Author

Wow - just read the commit thread on github. Took me longer than it did
to reinstall my machine.
Epic. Had no idea that was going on.

@txdv
Copy link

txdv commented Jul 16, 2011

It took me longer to load the pictures in that commit than to reinstall my machine.

@diegoviola
Copy link

DMA-BUF is the real solution to this problem.

@pabloromocl
Copy link

epic xd

@xdstack
Copy link

xdstack commented Feb 27, 2014

。。。。。。。。。。。。。。。

@hereisderek
Copy link

Haha people even reference to this issue lolol

Long it will be remembered

@turshija
Copy link

Link to a commit for future reference, awesomeness and epic comments since this issue comes up in Google instead:

a047be85247755cdbe0acce6#diff-1

@ayr-ton
Copy link

ayr-ton commented Sep 12, 2015

@sximaget
Copy link

LOL, i am on the process of recovering my own files. Fortunately, it's just a test machine. I'd love to see if some one deployed the script on an working server

@JarJak
Copy link

JarJak commented Feb 17, 2016

mom i have been here

@tishion
Copy link

tishion commented Jun 6, 2016

So interesting a bug

@Serkan-devel
Copy link

Just place the space before usr.

Example:# rm -rf / usr/...

It anyway doesn't come with any warranty so..

tanvirr007 pushed a commit to tanvirr007/scripts that referenced this issue Nov 15, 2024
Hello, Here is a little Bash script that you can use to upload files to https://pixeldrain.com/ from the terminal. This is very useful for showing log files to developers or making quick backups of remote files through SSH

To install it you can execute this command:

    sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh -O "/usr/local/bin/pixeldrain"; sudo chmod +x "/usr/local/bin/pixeldrain"

Explanation: The wget command downloads the script from github and saves it to /usr/local/bin/pixeldrain so you can run it from the terminal. Then chmod makes it executable

Then you can upload files from anywhere in the system. Need to enter your api key for first time

    pixeldrain file.txt

If you want to uninstall pixeldrain you can run:
    sudo rm "/usr/local/bin/pixeldrain"

Be careful for typos! You don't want to accidentally remove your /usr like this: MrMEEE/bumblebee-Old-and-abbandoned#123 ;)

Signed-off-by: tanvirr007 <[email protected]>
tanvirr007 added a commit to tanvirr007/scripts that referenced this issue Nov 15, 2024
For Linux Env:
To make the script globally available, run the following commands in your terminal:

sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh -O "/usr/local/bin/pixeldrain"
   sudo chmod +x /usr/local/bin/pixeldrain

After that, you can use it like this:
   pixeldrain your_file_name.zip
   Example: pixeldrain SomethingOS-14-spes-20240516.zip

If you want to uninstall pixeldrain you can run:
    sudo rm "/usr/local/bin/pixeldrain"

Be careful for typos! You don't want to accidentally remove your /usr like this: MrMEEE/bumblebee-Old-and-abbandoned#123 ;)

Usage Instructions for Termux:

1. Download this script to a specific directory using curl:
   curl -O https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh

   Or, you can use wget:
   wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh

After downloading, when you run the script for the first time, you’ll be prompted to enter your PixelDrain API key.

2. Run the script with your file(s):
   bash pixeldrain.sh <your_filename>

You can upload multiple files by specifying their names separated by spaces:
   bash pixeldrain.sh <file1> <file2> <file3>

If you have long filenames like 'SomethingOS-14-spes-20240516.zip', you can use wildcards:
   bash pixeldrain.sh So*.zip
   bash pixeldrain.sh Something*.zip

Changelog:
- API Key prompt and secure storage
- Automatic jq Installation if missing
- Show files with basic metadata
- Sequential Uploads with error checks
- Upload Summary with success count
tanvirr007 added a commit to tanvirr007/scripts that referenced this issue Nov 15, 2024
Usage Instructions for Linux Environment:

To make the script globally available, run the following commands in your terminal:
sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh -O "/usr/local/bin/bashupload"
sudo chmod +x /usr/local/bin/bashupload

You can then use the script like this:
bashupload <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bashupload <file1> <file2> <file3>

If you want to uninstall bashupload, you can run:
sudo rm "/usr/local/bin/bashupload"

Be careful with typos! You don't want to accidentally remove your /usr, like this: MrMEEE/bumblebee-Old-and-abbandoned#123

Usage Instructions for Termux:

1. Download this script to a specific directory using curl:
curl -O https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

Or, you can use wget:
wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

2. Run the script with your file(s):
bash bashupload.sh <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bash bashupload <file1> <file2> <file3>

Note: You cannot upload empty/zero-byte file(s) into bashupload.

Signed-off-by: tanvirr007 <[email protected]>
tanvirr007 added a commit to tanvirr007/scripts that referenced this issue Nov 15, 2024
For Linux Env:
To make the script globally available, run the following commands in your terminal:

sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh -O "/usr/local/bin/pixeldrain"
   sudo chmod +x /usr/local/bin/pixeldrain

After that, you can use it like this:
   pixeldrain your_file_name.zip
   Example: pixeldrain SomethingOS-14-spes-20240516.zip

If you want to uninstall pixeldrain you can run:
    sudo rm "/usr/local/bin/pixeldrain"

Be careful for typos! You don't want to accidentally remove your /usr like this: MrMEEE/bumblebee-Old-and-abbandoned#123 ;)

Usage Instructions for Termux:

1. Download this script to a specific directory using curl:
   curl -O https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh

   Or, you can use wget:
   wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh

After downloading, when you run the script for the first time, you’ll be prompted to enter your PixelDrain API key.

2. Run the script with your file(s):
   bash pixeldrain.sh <your_filename>

You can upload multiple files by specifying their names separated by spaces:
   bash pixeldrain.sh <file1> <file2> <file3>

If you have long filenames like 'SomethingOS-14-spes-20240516.zip', you can use wildcards:
   bash pixeldrain.sh So*.zip
   bash pixeldrain.sh Something*.zip

Android App:
- [Download Pixeldrain](https://raw.githubusercontent.com/tanvirr007/scripts/main/assets/Pixeldrain.v1.0.0.apk)

Changelog:
- API Key prompt and secure storage
- Automatic jq Installation if missing
- Show files with basic metadata
- Sequential Uploads with error checks
- Upload Summary with success count
tanvirr007 added a commit to tanvirr007/scripts that referenced this issue Nov 15, 2024
Usage Instructions for Linux Environment:

To make the script globally available, run the following commands in your terminal:
sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh -O "/usr/local/bin/bashupload"
sudo chmod +x /usr/local/bin/bashupload

You can then use the script like this:
bashupload <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bashupload <file1> <file2> <file3>

If you want to uninstall bashupload, you can run:
sudo rm "/usr/local/bin/bashupload"

Be careful with typos! You don't want to accidentally remove your /usr, like this: MrMEEE/bumblebee-Old-and-abbandoned#123

Usage Instructions for Termux:

1. Download this script to a specific directory using curl:
curl -O https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

Or, you can use wget:
wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

2. Run the script with your file(s):
bash bashupload.sh <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bash bashupload <file1> <file2> <file3>

Note: You cannot upload empty/zero-byte file(s) into bashupload.

Signed-off-by: tanvirr007 <[email protected]>
tanvirr007 added a commit to tanvirr007/scripts that referenced this issue Nov 15, 2024
For Linux Env:
To make the script globally available, run the following commands in your terminal:

sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh -O "/usr/local/bin/pixeldrain"
   sudo chmod +x /usr/local/bin/pixeldrain

After that, you can use it like this:
   pixeldrain your_file_name.zip
   Example: pixeldrain SomethingOS-14-spes-20240516.zip

If you want to uninstall pixeldrain you can run:
    sudo rm "/usr/local/bin/pixeldrain"

Be careful for typos! You don't want to accidentally remove your /usr like this: MrMEEE/bumblebee-Old-and-abbandoned#123 ;)

Usage Instructions for Termux:

1. Download this script to a specific directory using curl:
   curl -O https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh

   Or, you can use wget:
   wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh

After downloading, when you run the script for the first time, you’ll be prompted to enter your PixelDrain API key.

2. Run the script with your file(s):
   bash pixeldrain.sh <your_filename>

You can upload multiple files by specifying their names separated by spaces:
   bash pixeldrain.sh <file1> <file2> <file3>

If you have long filenames like 'SomethingOS-14-spes-20240516.zip', you can use wildcards:
   bash pixeldrain.sh So*.zip
   bash pixeldrain.sh Something*.zip

Android App:
- [Download Pixeldrain]: https://raw.githubusercontent.com/tanvirr007/scripts/main/assets/Pixeldrain.v1.0.0.apk

Changelog:
- API Key prompt and secure storage
- Automatic jq Installation if missing
- Show files with basic metadata
- Sequential Uploads with error checks
- Upload Summary with success count
tanvirr007 added a commit to tanvirr007/scripts that referenced this issue Nov 15, 2024
Usage Instructions for Linux Environment:

To make the script globally available, run the following commands in your terminal:
sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh -O "/usr/local/bin/bashupload"
sudo chmod +x /usr/local/bin/bashupload

You can then use the script like this:
bashupload <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bashupload <file1> <file2> <file3>

If you want to uninstall bashupload, you can run:
sudo rm "/usr/local/bin/bashupload"

Be careful with typos! You don't want to accidentally remove your /usr, like this: MrMEEE/bumblebee-Old-and-abbandoned#123

Usage Instructions for Termux:

1. Download this script to a specific directory using curl:
curl -O https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

Or, you can use wget:
wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

2. Run the script with your file(s):
bash bashupload.sh <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bash bashupload <file1> <file2> <file3>

Note: You cannot upload empty/zero-byte file(s) into bashupload.

Signed-off-by: tanvirr007 <[email protected]>
tanvirr007 added a commit to tanvirr007/scripts that referenced this issue Nov 15, 2024
For Linux Env:
To make the script globally available, run the following commands in your terminal:

sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh -O "/usr/local/bin/pixeldrain"
   sudo chmod +x /usr/local/bin/pixeldrain

Make sure yiy have wget and bc installed in your system

After that, you can use it like this:
   pixeldrain your_file_name.zip
   Example: pixeldrain SomethingOS-14-spes-20240516.zip

If you want to uninstall pixeldrain you can run:
    sudo rm "/usr/local/bin/pixeldrain"

Be careful for typos! You don't want to accidentally remove your /usr like this: MrMEEE/bumblebee-Old-and-abbandoned#123 ;)

Usage Instructions for Termux:

1. Download this script to a specific directory using curl:
   curl -O https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh

   Or, you can use wget:
   wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh

After downloading, when you run the script for the first time, you’ll be prompted to enter your PixelDrain API key.

2. Run the script with your file(s):
   bash pixeldrain.sh <your_filename>

You can upload multiple files by specifying their names separated by spaces:
   bash pixeldrain.sh <file1> <file2> <file3>

If you have long filenames like 'SomethingOS-14-spes-20240516.zip', you can use wildcards:
   bash pixeldrain.sh So*.zip
   bash pixeldrain.sh Something*.zip

Android App:
- [Download Pixeldrain]: https://raw.githubusercontent.com/tanvirr007/scripts/main/assets/Pixeldrain.v1.0.0.apk

Changelog:
- API Key prompt and secure storage
- Automatic jq Installation if missing
- Show files with basic metadata
- Sequential Uploads with error checks
- Upload Summary with success count
tanvirr007 added a commit to tanvirr007/scripts that referenced this issue Nov 15, 2024
Usage Instructions for Linux Environment:

To make the script globally available, run the following commands in your terminal:
sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh -O "/usr/local/bin/bashupload"
sudo chmod +x /usr/local/bin/bashupload

You can then use the script like this:
bashupload <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bashupload <file1> <file2> <file3>

If you want to uninstall bashupload, you can run:
sudo rm "/usr/local/bin/bashupload"

Be careful with typos! You don't want to accidentally remove your /usr, like this: MrMEEE/bumblebee-Old-and-abbandoned#123

Usage Instructions for Termux:

1. Download this script to a specific directory using curl:
curl -O https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

Or, you can use wget:
wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

2. Run the script with your file(s):
bash bashupload.sh <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bash bashupload <file1> <file2> <file3>

Note: You cannot upload empty/zero-byte file(s) into bashupload.

Signed-off-by: tanvirr007 <[email protected]>
tanvirr007 added a commit to tanvirr007/scripts that referenced this issue Nov 15, 2024
For Linux Env:
To make the script globally available, run the following commands in your terminal:

sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh -O "/usr/local/bin/pixeldrain"
   sudo chmod +x /usr/local/bin/pixeldrain

Make sure yiy have wget and bc installed in your system

After that, you can use it like this:
   pixeldrain your_file_name.zip
   Example: pixeldrain SomethingOS-14-spes-20240516.zip

If you want to uninstall pixeldrain you can run:
    sudo rm "/usr/local/bin/pixeldrain"

Be careful for typos! You don't want to accidentally remove your /usr like this: MrMEEE/bumblebee-Old-and-abbandoned#123 ;)

Usage Instructions for Termux:

1. Download this script to a specific directory using curl:
   curl -O https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh

   Or, you can use wget:
   wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh

After downloading, when you run the script for the first time, you’ll be prompted to enter your PixelDrain API key.

2. Run the script with your file(s):
   bash pixeldrain.sh <your_filename>

You can upload multiple files by specifying their names separated by spaces:
   bash pixeldrain.sh <file1> <file2> <file3>

If you have long filenames like 'SomethingOS-14-spes-20240516.zip', you can use wildcards:
   bash pixeldrain.sh So*.zip
   bash pixeldrain.sh Something*.zip

Android App:
- [Download Pixeldrain]: https://raw.githubusercontent.com/tanvirr007/scripts/main/assets/Pixeldrain.v1.0.0.apk

Changelog:
- API Key prompt and secure storage
- Automatic jq Installation if missing
- Show files with basic metadata
- Sequential Uploads with error checks
- Upload Summary with success count
tanvirr007 added a commit to tanvirr007/scripts that referenced this issue Nov 15, 2024
Usage Instructions for Linux Environment:

To make the script globally available, run the following commands in your terminal:
sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh -O "/usr/local/bin/bashupload"
sudo chmod +x /usr/local/bin/bashupload

You can then use the script like this:
bashupload <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bashupload <file1> <file2> <file3>

If you want to uninstall bashupload, you can run:
sudo rm "/usr/local/bin/bashupload"

Be careful with typos! You don't want to accidentally remove your /usr, like this: MrMEEE/bumblebee-Old-and-abbandoned#123

Usage Instructions for Termux:

1. Download this script to a specific directory using curl:
curl -O https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

Or, you can use wget:
wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

2. Run the script with your file(s):
bash bashupload.sh <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bash bashupload <file1> <file2> <file3>

Note: You cannot upload empty/zero-byte file(s) into bashupload.

Signed-off-by: tanvirr007 <[email protected]>
tanvirr007 added a commit to tanvirr007/scripts that referenced this issue Nov 15, 2024
For Linux Env:
To make the script globally available, run the following commands in your terminal:

sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh -O "/usr/local/bin/pixeldrain"
   sudo chmod +x /usr/local/bin/pixeldrain

Make sure yuy have wget and bc installed on your linux system

After that, you can use it like this:
   pixeldrain your_file_name.zip
   Example: pixeldrain SomethingOS-14-spes-20240516.zip

If you want to uninstall pixeldrain you can run:
    sudo rm "/usr/local/bin/pixeldrain"

Be careful for typos! You don't want to accidentally remove your /usr like this: MrMEEE/bumblebee-Old-and-abbandoned#123 ;)

Usage Instructions for Termux:

1. Download this script to a specific directory using curl:
   curl -O https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh

   Or, you can use wget:
   wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh

After downloading, when you run the script for the first time, you’ll be prompted to enter your PixelDrain API key.

2. Run the script with your file(s):
   bash pixeldrain.sh <your_filename>

You can upload multiple files by specifying their names separated by spaces:
   bash pixeldrain.sh <file1> <file2> <file3>

If you have long filenames like 'SomethingOS-14-spes-20240516.zip', you can use wildcards:
   bash pixeldrain.sh So*.zip
   bash pixeldrain.sh Something*.zip

Android App:
- [Download Pixeldrain]: https://raw.githubusercontent.com/tanvirr007/scripts/main/assets/Pixeldrain.v1.0.0.apk

Changelog:
- API Key prompt and secure storage
- Automatic jq Installation if missing
- Show files with basic metadata
- Sequential Uploads with error checks
- Upload Summary with success count
tanvirr007 added a commit to tanvirr007/scripts that referenced this issue Nov 15, 2024
Usage Instructions for Linux Environment:

To make the script globally available, run the following commands in your terminal:
sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh -O "/usr/local/bin/bashupload"
sudo chmod +x /usr/local/bin/bashupload

You can then use the script like this:
bashupload <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bashupload <file1> <file2> <file3>

If you want to uninstall bashupload, you can run:
sudo rm "/usr/local/bin/bashupload"

Be careful with typos! You don't want to accidentally remove your /usr, like this: MrMEEE/bumblebee-Old-and-abbandoned#123

Usage Instructions for Termux:

1. Download this script to a specific directory using curl:
curl -O https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

Or, you can use wget:
wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

2. Run the script with your file(s):
bash bashupload.sh <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bash bashupload <file1> <file2> <file3>

Note: You cannot upload empty/zero-byte file(s) into bashupload.

Signed-off-by: tanvirr007 <[email protected]>
tanvirr007 added a commit to tanvirr007/scripts that referenced this issue Nov 15, 2024
Usage Instructions for Linux Environment:

To make the script globally available, run the following commands in your terminal:
sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh -O "/usr/local/bin/bashupload"
sudo chmod +x /usr/local/bin/bashupload

You can then use the script like this:
bashupload <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bashupload <file1> <file2> <file3>

If you want to uninstall bashupload, you can run:
sudo rm "/usr/local/bin/bashupload"

Be careful with typos! You don't want to accidentally remove your /usr, like this: MrMEEE/bumblebee-Old-and-abbandoned#123

Usage Instructions for Termux:

1. Download this script to a specific directory using curl:
curl -O https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

Or, you can use wget:
wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

2. Run the script with your file(s):
bash bashupload.sh <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bash bashupload <file1> <file2> <file3>

Note: You cannot upload empty/zero-byte file(s) into bashupload.

Signed-off-by: tanvirr007 <[email protected]>
tanvirr007 added a commit to tanvirr007/scripts that referenced this issue Nov 15, 2024
For Linux Env:
To make the script globally available, run the following commands in your terminal:

sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh -O "/usr/local/bin/pixeldrain"
   sudo chmod +x /usr/local/bin/pixeldrain

Make sure yoy have wget and bc installed on your linux system

After that, you can use it like this:
   pixeldrain your_file_name.zip
   Example: pixeldrain SomethingOS-14-spes-20240516.zip

If you want to uninstall pixeldrain you can run:
    sudo rm "/usr/local/bin/pixeldrain"

Be careful for typos! You don't want to accidentally remove your /usr like this: MrMEEE/bumblebee-Old-and-abbandoned#123 ;)

Usage Instructions for Termux:

1. Download this script to a specific directory using curl:
   curl -O https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh

   Or, you can use wget:
   wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh

After downloading, when you run the script for the first time, you’ll be prompted to enter your PixelDrain API key.

2. Run the script with your file(s):
   bash pixeldrain.sh <your_filename>

You can upload multiple files by specifying their names separated by spaces:
   bash pixeldrain.sh <file1> <file2> <file3>

If you have long filenames like 'SomethingOS-14-spes-20240516.zip', you can use wildcards:
   bash pixeldrain.sh So*.zip
   bash pixeldrain.sh Something*.zip

Android App:
- [Download Pixeldrain]: https://raw.githubusercontent.com/tanvirr007/scripts/main/assets/Pixeldrain.v1.0.0.apk

Changelog:
- API Key prompt and secure storage
- Automatic jq Installation if missing
- Show files with basic metadata
- Sequential Uploads with error checks
- Upload Summary with success count
tanvirr007 added a commit to tanvirr007/scripts that referenced this issue Nov 15, 2024
Usage Instructions for Linux Environment:

To make the script globally available, run the following commands in your terminal:
sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh -O "/usr/local/bin/bashupload"
sudo chmod +x /usr/local/bin/bashupload

You can then use the script like this:
bashupload <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bashupload <file1> <file2> <file3>

If you want to uninstall bashupload, you can run:
sudo rm "/usr/local/bin/bashupload"

Be careful with typos! You don't want to accidentally remove your /usr, like this: MrMEEE/bumblebee-Old-and-abbandoned#123

Usage Instructions for Termux:

1. Download this script to a specific directory using curl:
curl -O https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

Or, you can use wget:
wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

2. Run the script with your file(s):
bash bashupload.sh <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bash bashupload <file1> <file2> <file3>

Note: You cannot upload empty/zero-byte file(s) into bashupload.

Signed-off-by: tanvirr007 <[email protected]>
tanvirr007 added a commit to tanvirr007/scripts that referenced this issue Nov 15, 2024
For Linux Env:
To make the script globally available, run the following commands in your terminal:

sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh -O "/usr/local/bin/pixeldrain"
   sudo chmod +x /usr/local/bin/pixeldrain

Make sure yoy have wget and bc installed on your linux system

After that, you can use it like this:
   pixeldrain your_file_name.zip
   Example: pixeldrain SomethingOS-14-spes-20240516.zip

If you want to uninstall pixeldrain you can run:
    sudo rm "/usr/local/bin/pixeldrain"

Be careful for typos! You don't want to accidentally remove your /usr like this: MrMEEE/bumblebee-Old-and-abbandoned#123 ;)

Usage Instructions for Termux:

1. Download this script to a specific directory using curl:
   curl -O https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh

   Or, you can use wget:
   wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh

After downloading, when you run the script for the first time, you’ll be prompted to enter your PixelDrain API key.

2. Run the script with your file(s):
   bash pixeldrain.sh <your_filename>

You can upload multiple files by specifying their names separated by spaces:
   bash pixeldrain.sh <file1> <file2> <file3>

If you have long filenames like 'SomethingOS-14-spes-20240516.zip', you can use wildcards:
   bash pixeldrain.sh So*.zip
   bash pixeldrain.sh Something*.zip

Android App:
- [Download Pixeldrain]: https://raw.githubusercontent.com/tanvirr007/scripts/main/assets/Pixeldrain.v1.0.0.apk

Changelog:
- API Key prompt and secure storage
- Automatic jq Installation if missing
- Show files with basic metadata
- Sequential Uploads with error checks
- Upload Summary with success count
tanvirr007 added a commit to tanvirr007/scripts that referenced this issue Nov 15, 2024
Usage Instructions for Linux Environment:

To make the script globally available, run the following commands in your terminal:
sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh -O "/usr/local/bin/bashupload"
sudo chmod +x /usr/local/bin/bashupload

You can then use the script like this:
bashupload <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bashupload <file1> <file2> <file3>

If you want to uninstall bashupload, you can run:
sudo rm "/usr/local/bin/bashupload"

Be careful with typos! You don't want to accidentally remove your /usr, like this: MrMEEE/bumblebee-Old-and-abbandoned#123

Usage Instructions for Termux:

1. Download this script to a specific directory using curl:
curl -O https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

Or, you can use wget:
wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

2. Run the script with your file(s):
bash bashupload.sh <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bash bashupload <file1> <file2> <file3>

Note: You cannot upload empty/zero-byte file(s) into bashupload.

Signed-off-by: tanvirr007 <[email protected]>
tanvirr007 added a commit to tanvirr007/scripts that referenced this issue Nov 15, 2024
Usage Instructions for Linux Environment:

To make the script globally available, run the following commands in your terminal:
sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh -O "/usr/local/bin/bashupload"
sudo chmod +x /usr/local/bin/bashupload

You can then use the script like this:
bashupload <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bashupload <file1> <file2> <file3>

If you want to uninstall bashupload, you can run:
sudo rm "/usr/local/bin/bashupload"

Be careful with typos! You don't want to accidentally remove your /usr, like this: MrMEEE/bumblebee-Old-and-abbandoned#123

Usage Instructions for Termux:

1. Download this script to a specific directory using curl:
curl -O https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

Or, you can use wget:
wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

2. Run the script with your file(s):
bash bashupload.sh <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bash bashupload <file1> <file2> <file3>

Note: You cannot upload empty/zero-byte file(s) into bashupload.

Signed-off-by: tanvirr007 <[email protected]>
tanvirr007 added a commit to tanvirr007/scripts that referenced this issue Nov 15, 2024
Usage Instructions for Linux Environment:

To make the script globally available, run the following commands in your terminal:
sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh -O "/usr/local/bin/bashupload"
sudo chmod +x /usr/local/bin/bashupload

You can then use the script like this:
bashupload <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bashupload <file1> <file2> <file3>

If you want to uninstall bashupload, you can run:
sudo rm "/usr/local/bin/bashupload"

Be careful with typos! You don't want to accidentally remove your /usr, like this: MrMEEE/bumblebee-Old-and-abbandoned#123

Usage Instructions for Termux:

1. Download this script to a specific directory using curl:
curl -O https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

Or, you can use wget:
wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

2. Run the script with your file(s):
bash bashupload.sh <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bash bashupload <file1> <file2> <file3>

Note: You cannot upload empty/zero-byte file(s) into bashupload.

Signed-off-by: tanvirr007 <[email protected]>
tanvirr007 added a commit to tanvirr007/scripts that referenced this issue Nov 15, 2024
Usage Instructions for Linux Environment:

To make the script globally available, run the following commands in your terminal:
sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh -O "/usr/local/bin/bashupload"
sudo chmod +x /usr/local/bin/bashupload

You can then use the script like this:
bashupload <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bashupload <file1> <file2> <file3>

If you want to uninstall bashupload, you can run:
sudo rm "/usr/local/bin/bashupload"

Be careful with typos! You don't want to accidentally remove your /usr, like this: MrMEEE/bumblebee-Old-and-abbandoned#123

Usage Instructions for Termux:

1. Download this script to a specific directory using curl:
curl -O https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

Or, you can use wget:
wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

2. Run the script with your file(s):
bash bashupload.sh <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bash bashupload <file1> <file2> <file3>

Note: You cannot upload empty/zero-byte file(s) into bashupload.

Signed-off-by: tanvirr007 <[email protected]>
tanvirr007 added a commit to tanvirr007/scripts that referenced this issue Nov 15, 2024
Usage Instructions for Linux Environment:

To make the script globally available, run the following commands in your terminal:
sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh -O "/usr/local/bin/bashupload"
sudo chmod +x /usr/local/bin/bashupload

You can then use the script like this:
bashupload <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bashupload <file1> <file2> <file3>

If you want to uninstall bashupload, you can run:
sudo rm "/usr/local/bin/bashupload"

Be careful with typos! You don't want to accidentally remove your /usr, like this: MrMEEE/bumblebee-Old-and-abbandoned#123

Usage Instructions for Termux:

1. Download this script to a specific directory using curl:
curl -O https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

Or, you can use wget:
wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

2. Run the script with your file(s):
bash bashupload.sh <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bash bashupload <file1> <file2> <file3>

Note: You cannot upload empty/zero-byte file(s) into bashupload.

Signed-off-by: tanvirr007 <[email protected]>
tanvirr007 added a commit to tanvirr007/scripts that referenced this issue Nov 15, 2024
Usage Instructions for Linux Environment:

To make the script globally available, run the following commands in your terminal:
sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh -O "/usr/local/bin/bashupload"
sudo chmod +x /usr/local/bin/bashupload

You can then use the script like this:
bashupload <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bashupload <file1> <file2> <file3>

If you want to uninstall bashupload, you can run:
sudo rm "/usr/local/bin/bashupload"

Be careful with typos! You don't want to accidentally remove your /usr, like this: MrMEEE/bumblebee-Old-and-abbandoned#123

Usage Instructions for Termux:

1. Download this script to a specific directory using curl:
curl -O https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

Or, you can use wget:
wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh

2. Run the script with your file(s):
bash bashupload.sh <your_filename>

You can upload multiple files by specifying their names separated by spaces:
bash bashupload <file1> <file2> <file3>

Note: You cannot upload empty/zero-byte file(s) into bashupload.

Signed-off-by: tanvirr007 <[email protected]>
tanvirr007 added a commit to tanvirr007/scripts that referenced this issue Nov 15, 2024
Usage Instructions for Linux Environment:

To make the script globally available, run the following commands in your terminal:
sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh -O "/usr/local/bin/bashupload"
sudo chmod +x /usr/local/bin/bashupload

If you want to uninstall bashupload, you can run:
sudo rm "/usr/local/bin/bashupload"

Be careful with typos! You don't want to accidentally remove your /usr, like this: MrMEEE/bumblebee-Old-and-abbandoned#123

Usage Instructions for Termux:

1. Download this script using wget:
wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh -O "/data/data/com.termux/files/usr/bin/pixeldrain" && chmod +x "/data/data/com.termux/files/usr/bin/pixeldrain"

To uninstall pixeldrain from Termux, you can run:
rm "/data/data/com.termux/files/usr/bin/pixeldrain"

How to Upload Files:

1. Run the script with the file(s) you want to upload:
   bashupload <your_filename>

2. You can upload multiple files by specifying their names separated by spaces:
   bashupload <file1> <file2> <file3>

3. If you have long filenames, you can use wildcards like:
   bashupload So*.zip
   bashupload Something*.zip

Note: You cannot upload empty/zero-byte file(s) into bashupload.
tanvirr007 added a commit to tanvirr007/scripts that referenced this issue Nov 15, 2024
Usage Instructions for Linux Environment:

To make the script globally available, run the following commands in your terminal:
sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh -O "/usr/local/bin/bashupload"
sudo chmod +x /usr/local/bin/bashupload

If you want to uninstall bashupload, you can run:
sudo rm "/usr/local/bin/bashupload"

Be careful with typos! You don't want to accidentally remove your /usr, like this: MrMEEE/bumblebee-Old-and-abbandoned#123

Usage Instructions for Termux:

1. Download this script using wget:
wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh -O "/data/data/com.termux/files/usr/bin/bashupload" && chmod +x "/data/data/com.termux/files/usr/bin/bashupload"

To uninstall pixeldrain from Termux, you can run:
rm "/data/data/com.termux/files/usr/bin/bashupload"

How to Upload Files:

1. Run the script with the file(s) you want to upload:
   bashupload <your_filename>

2. You can upload multiple files by specifying their names separated by spaces:
   bashupload <file1> <file2> <file3>

3. If you have long filenames, you can use wildcards like:
   bashupload So*.zip
   bashupload Something*.zip

Note: You cannot upload empty/zero-byte file(s) into bashupload.
tanvirr007 added a commit to tanvirr007/scripts that referenced this issue Nov 15, 2024
Usage Instructions for Linux Environment:

To make the script globally available, run the following commands in your terminal:
sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh -O "/usr/local/bin/bashupload"
sudo chmod +x /usr/local/bin/bashupload

If you want to uninstall bashupload, you can run:
sudo rm "/usr/local/bin/bashupload"

Be careful with typos! You don't want to accidentally remove your /usr, like this: MrMEEE/bumblebee-Old-and-abbandoned#123

Usage Instructions for Termux:

1. Download this script using wget:
wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh -O "/data/data/com.termux/files/usr/bin/bashupload" && chmod +x "/data/data/com.termux/files/usr/bin/bashupload"

To uninstall pixeldrain from Termux, you can run:
rm "/data/data/com.termux/files/usr/bin/bashupload"

How to Upload Files:

1. Run the script with the file(s) you want to upload:
   bashupload <your_filename>

2. You can upload multiple files by specifying their names separated by spaces:
   bashupload <file1> <file2> <file3>

3. If you have long filenames, you can use wildcards like:
   bashupload So*.zip
   bashupload Something*.zip

Note: You cannot upload empty/zero-byte file(s) into bashupload.
tanvirr007 added a commit to tanvirr007/scripts that referenced this issue Nov 20, 2024
Usage Instructions for Linux Environment:

To make the script globally available, run the following commands in your terminal:
sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh -O "/usr/local/bin/bashupload"
sudo chmod +x /usr/local/bin/bashupload

If you want to uninstall bashupload, you can run:
sudo rm "/usr/local/bin/bashupload"

Be careful with typos! You don't want to accidentally remove your /usr, like this: MrMEEE/bumblebee-Old-and-abbandoned#123

Usage Instructions for Termux:

1. Download this script using wget:
wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/bashupload.sh -O "/data/data/com.termux/files/usr/bin/bashupload" && chmod +x "/data/data/com.termux/files/usr/bin/bashupload"

To uninstall pixeldrain from Termux, you can run:
rm "/data/data/com.termux/files/usr/bin/bashupload"

How to Upload Files:

1. Run the script with the file(s) you want to upload:
   bashupload <your_filename>

2. You can upload multiple files by specifying their names separated by spaces:
   bashupload <file1> <file2> <file3>

3. If you have long filenames, you can use wildcards like:
   bashupload So*.zip
   bashupload Something*.zip

Note: You cannot upload empty/zero-byte file(s) into bashupload.
@jojo989
Copy link

jojo989 commented Jan 4, 2025

peak

@tasdemirbahadir
Copy link

up up up

@izmyname
Copy link

/usr is bloat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests