gotbletu / shownotes

notes for videos from my youtube channel
https://www.youtube.com/user/gotbletu
GNU General Public License v3.0
919 stars 171 forks source link

Update interfacelift.sh #10

Closed capoderra closed 7 years ago

capoderra commented 7 years ago

added cd $real_wall_dir at the end so that it could find the directory to delete old wallpapers

gotbletu commented 7 years ago

i dont think you need that since the last command looks in that folder already

find $real_wall_dir -mtime +$expire_wall_date -exec rm {} \;
capoderra commented 7 years ago

The script didn't work for me until I added the cd. Anyway, is there a way to change the number of wallpapers downloaded from ten?

gotbletu commented 7 years ago

thats weird, works fine here, guess maybe different bash/findutils versions. The wallpapers is from the site, think it only has 10 by default