Closed capoderra closed 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 {} \;
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?
thats weird, works fine here, guess maybe different bash/findutils versions. The wallpapers is from the site, think it only has 10 by default
added cd $real_wall_dir at the end so that it could find the directory to delete old wallpapers