Computing HowTo Linux

How to archive folders older than a certain date in Linux / Ubuntu

Using the GUI this task is trivial (Sort by list view, click on the Date heading to order by date, select the relevant folders then right click and Compress.)

Using the command line to achieve the same results is a trifle harder. Here’s the command line I came up with:

tar zcvf ArchiveName.tar.gz `find * -maxdepth 0 -mtime +893`

The find command in the gets executed first and returns the folders and files in the CURRENT directory that haven’t been modified since the number of days specified by the number in the find command.

Tar then does it’s usual job and compresses it.

If you’re wanting to remove directories using a similar command just substitute in the rm command instead of the tar command.

To find the number of days to a date in the past I used this website here but I’m sure there’s something you can do with the date command that will give you a similar output!

Computing Musicals Thoroughly Modern Millie

How to convert DSS files to .mp3 with ubuntu linux

I have an Olympus DM-20 which I use to record stuff from my amateur dramatics group, just recently I recorded a script read through of Thoroughly Modern Millie and needed to chop up the read-through by scene. Ubuntu Linux doesn’t support .dss files natively so I needed to convert them. A bit of googling lead me to believe that I’d need to convert it using a program under wine. Below is how I got it all to work, hopefully it will help someone!

Things you will need:

To Install:

  • Install wine from the repositories

sudo apt-get install wine

You should be able to Right Click and Open with Wine Windows Program Loader.

Using the same methodology as above right click and open with Wine Windoes Program Loader.

Install as above. Run the program, add the files, choose your output type and location and hit convert!

Bang, you’re done.

Information sourced from Google and the ubuntu forums I couldn’t initially get Swift working because I didn’t have the C++ libraries installed hence my repost!