spotify-adblock-linux icon indicating copy to clipboard operation
spotify-adblock-linux copied to clipboard

scan 10TB /home, just for fun?

Open mastir opened this issue 2 years ago • 3 comments

Thanks for script

+ works
- scans 2 times full hdd raid, for no any reason
- potential fuckup if file/folder with such name already exists somewhere

How to fix? simple.

  1. DO NOT SCAN! You download file? Give it a name!
debfile=./spotify.deb
wget -O $debfile http://repository.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.1.84.716.gc5f8b819_amd64.deb

  1. DO NOT SCAN! You download folder? Give it a name!
spotifyextra=./spotify-adblock.git
git clone https://github.com/abba23/spotify-adblock.git -b main $spotifyextra
cd $spotifyextra
  1. there is no real reason to use home or Downloads (this folder has different name in other locales) or any other potentialy non existant folder, use cwd (wich is ~/Downloads by default if user run this file directly after download) Just remove:
cd ~
cd ~/Downloads

mastir avatar Nov 01 '22 22:11 mastir

ahaaha this is funny to read, finally someone notice the joke

reidsneo avatar Nov 21 '22 11:11 reidsneo

you guys are having 10TB of /home, i almost got a mini heartattack, on a serious note i will do as you have instructed.

isouravgope avatar Dec 18 '22 19:12 isouravgope

What the context :

  1. despite of find the filename by scanning, use direct path instead
  2. the path using home personal directory is not recommended we can use an public available path like /tmp

reidsneo avatar Dec 19 '22 07:12 reidsneo