If you use RedHat Enterprise Linux in a big environment, you probably use RedHat Network (RHN) as well. RHN has a very well documented API, which can be used for all tasks you want to do. Here is a small script I wrote to list out all of our syste…
Tag: script
Move into folders
Often when you download something, for instance movies, it is a big pack of many movies, and they are all in one folder as .avi files or something like that. You might want all of those in their own separate folder to use with f.ex. XBMC, and it c…
pakkut.sh
Et lite script for å gå ned i hver underkatalog, se etter filer som slutter på .rar, og pakke de ut. Så spør den om du vil slette “*r?? *sfv” hvorpå den evt. sletter de. Kjekt når man laster ned noe som kommer som en haug med underkataloger med ra…