This week I had the challenge of extracting a years worth of history for a few URLs in a rather large website. We have been running Google Analytics a for the past year, so we should have the data. The question is how to get it.
Continue reading
Author Archives: Hugh Paterson III
Cleaning up after 10 years
EditFlow and CPT management through a workflow
Cheese. Um good gruyère.
Burger give away with UFC
New pencils
Population of Canada
Today, after some conversations with friends I looked up the population of Canada. 35 million. All that land and only 35 million people (+/- 1 million). But all the same that is about the population of New York’s metropolitan area plus the population of Los Angeles’ metropolitan area. When issues of crime and law are considered population issues need to be brought into account. The population of Canada and the population of California might be about equivalent.
Linked Data and SIL a two way street
Summer bikes
Combination of Tips
Some days I am more clever than others. Today, I was working on digitizing about 50 older (30 years old) cassettes for a linguist. To organize the data I have need of creating a folder for each tape. Each folder needs to be sequentially numbered. It is a lot of tedious work - not something I enjoy.
So I looked up a few things in terminal to see if I could speed up the process. I needed to create a few folders so I looked up on hints MacWorld:
So I looked at the mkdir command, which creates new folders or directories. It uses the following syntax: mkdir folder1 folder2 folder3
Now I needed a list of the folders I needed... something like 50.
So I created a formula in a google spreadsheet using the Concatenate command. I was able in one column to add the Alpha characters I needed and in the next column I was able to add the sequential numerics I needed.
Now I had a list of 50 names of my folders, but I still needed to remove the return characters which separated them from each other to allow the mkdir command to work. So I opened up TextEdit and did a search for return tabs in the document and deleted them.
Now I could just paste the 50 folder names in terminal and hit enter and it created 50 folders... But I wonder if there was a way to add sequential numbers to a base folder-name in terminal without using google spreadsheets...
Three years late this answer would have been what I was looking for: https://askubuntu.com/posts/731730/revisions from: https://askubuntu.com/questions/731721/is-there-a-way-to-create-multiple-directories-at-once-with-mkdir



