Though this is neither a snippet nor a macro, I think it is a trick worth sharing.
It is for ubuntu/linux, but I'm sure, it can be adopted to other OS as well.
All my projects are organized like this
|_projects
...|_example.com
......|_example.kpf
......|_template#1
.........|_root
............|index.html
............|_css
............|_images
...
|_templates
...|_template#1
......|_root
.........|index.html
.........|_css
.........|_images
...
|_template#2
...
|_template#n
"example.com" is a unique directory I create for each and every project. "template#1" to "template#n" are complete directory structures including all necessary files and folders.
You can surely imagine, how boring it is copy those templates time and time again to a new project directory.
O.K. basic stuff until now. But now lets sprinkle some faery dust.
cp -r -i --reply=no -v '/media/Daten/files/patrick/_projects/template' '%p'
Voila! You have finished your basic setup with just ONE click.
For those new to the linux command line a quick explanation.
cp -r -i --reply=no -v '/media/Daten/files/patrick/_projects/template' '%p'
I'm not what I would call a command line expert and therefore there might be better ways to do that. If you have any recommendations, please tell me.
Also I'm sure there are other totally cool command line snippets worth sharing. Please add them to the thread and I will include them in this post.
Regards, pepebe