That folder will have my other folders ready to collect and organize info and add a base html file. The I can call “site SITENAME” and it will create the folder named SITENAME in whatever directory I’m in. I don’t have a need to plan folders that far out in advance, but I do like to create common folder structures for different projects. I’m thinking of it as “comple X ARGument S“, meaning it takes a long list of something and lets other commands interpret it easier. | is a pipe, which means it takes whatever is to the left of the pipe and outputs it to the command on the right of the pipe. Which means it takes folders.txt and reads it sequentially (line by line) then outputs it. You don’t type it, it appears when you first launch Terminal.Ĭat stands for concatenate. I am by no means a proficient terminal user or programmer, but let me try to break that down. Type the command: $ cat folders.txt | xargs mkdir Save as folders.txt in a temporary directory.ģ. Note that the date format of YYYMMDD allows computers to sort dates in ascending or descending orders easily, and completely eliminates any confusion caused by US-or-rest-of-the-world date formats.Ģ. We then get something that looks like this: 20120601-article1 I simply did this by copying out of our planning spreadsheet, replacing spaces with dashes and adding dates (all easily done in Excel). So, how do you make 40+ folders at the same time?ġ. Now obviously, efficiency comes from doing things in batches. This is used for storing the article, the mind map, images and anything else relevant. One of the ways that we organize ourselves at Asian Efficiency is to have one folder per article or post we write. At Thanh’s request, I’m sharing this. Consider it a sneak preview for our upcoming “AE Labs” project.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |