Skip to content

Commit

Permalink
feat: How to autorename files using Zotero post
Browse files Browse the repository at this point in the history
  • Loading branch information
danieltomasz committed Jun 13, 2024
1 parent 2707ad7 commit 97a94af
Show file tree
Hide file tree
Showing 45 changed files with 5,345 additions and 0 deletions.
41 changes: 41 additions & 0 deletions content/posts/How to rename files using Zotero.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
title: "How to autorename files using Zotero"
description: "Autorenaming - another reason that Zotero is great"
date: "2024-06-13"
lastmod:
draft: false
summary: File renaming automation with Zotero
tags:
- Zotero
- Bibliography
---

After listening an episode of `PhD Life Coach` podcast (reccomeded to everyone relared to academia) on [How to be your own best personal assistant](https://thephdlifecoach.buzzsprout.com/1992545/15220518-2-39-how-to-be-your-own-best-personal-assistant) Iearned that some academic people still spent their time on renaming pdfs downloaded from internet. I want to share an important message to those people :) :

1. If you deal if structured articles (web, pdf) please use Reference Mangers, even if you don't cite those articles that often; It will remove many of your headeaches and you can have nice organisation of your research materials
2. Even if you want to store PDFs inside specific projects a Reference Mangers can be really useful by automatic file renaming for you (you can move this files to another folder later). If you need to standardize the naming convention for all your PDF files or want to include specific metadata in the file names, Zotero or other refernce mangers offers built-in functionalities and add-ons to achieve this efficiently.

Here a quick tips how to rename files using Zotero.

I am using Zotero 7 Betal (which is really stable and availble from this page and I hope will soon realeased as stable version) so my description might be slightly differnt from what people using previous version may sees .

- In Zotero Go to Edit > Preferences (or Zotero > Preferences on a Mac).
- In the General tab, check the box •` Automatically rename locally added files`

The 'Rename linked files' will matter only the files added to Zotero items arent story with Zotero folder (where every bibliographic item has its own folder with the not so meaningful alphanumeric name ) but out outside of Zotero (when you move the file, you will broke the link )

if you click `Customize Filename Format…` you can customize the format,.

For example using filename template
`{{ firstCreator suffix=" - " }}{{ year suffix=" - " }}{{ title truncate="100" }}` the resulting name will result in the filename similar to the one below:
`Aljalal et al. - 2024 - Selecting EEG channels and features using multi-objective optimization for accurate MCI detection v.pdf`

On the official documentation page you can find the options you can use explained in more depth [file_renaming \[Zotero Documentation\]](https://www.zotero.org/support/file_renaming)

You easily rename in bulk the files that you already downloaded and store in Zotero if for some reason you prefer to change the pattern in the future.

Zotero will add a great value to you ith its Browser Plugin Zotero Connector (which attomatical download and add pdf (if you have acces to it on publishers page) or snapshot of webpage to your local library ), and apperently this is not a comment knowledge, as prof. Inga Mewburn from [The Thesis Whisperer][thttps://thesiswhisperer.com/] blog and On the reg podcast recently admitted in one of the episosed that she learned about the connector after few years of using Zotero.

If you prefer to have linked files in one big folder, the Zotfile or other plugin that offer the same capabilities are something for you.

Even if you prefer have PDFs in the folders of your projects, you can always easily open folder conating the renamed files and move it to the project folder.
Empty file added content/posts/Untitled.md
Empty file.
187 changes: 187 additions & 0 deletions public/1/untitled/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
<!doctype html>
<html lang="en">
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content=" map[name:Daniel Borek] - http://localhost:1313/">
<title> | Daniel Borek</title>
<meta name="description" content="Instrumental reflexes">

<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Daniel Borek">
<meta name="twitter:description" content="Instrumental reflexes">

<meta property="og:url" content="http://localhost:1313/1/untitled/">
<meta property="og:site_name" content="Daniel Borek">
<meta property="og:title" content="Daniel Borek">
<meta property="og:description" content="Instrumental reflexes">
<meta property="og:locale" content="en_us">
<meta property="og:type" content="article">
<meta property="article:section" content="posts">


<meta itemprop="name" content="Daniel Borek">
<meta itemprop="description" content="Instrumental reflexes">
<link rel="canonical" href="http://localhost:1313/1/untitled/">
<link rel="dns-prefetch" href="https://www.google-analytics.com">
<link href="https://www.google-analytics.com" rel="preconnect" crossorigin>
<link rel="alternate" type="application/atom+xml" title="Daniel Borek" href="http://localhost:1313/atom.xml" />
<link rel="alternate" type="application/json" title="Daniel Borek" href="http://localhost:1313/feed.json" />

<style>*{line-height:1.6em;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica,helvetica neue,ubuntu,roboto,noto,segoe ui,arial,sans-serif;padding:2rem;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}main{max-width:70ch;padding:2ch;margin:auto}rig header,footer{margin-top:4rem;margin-bottom:4rem}h1:first-child{margin:0}img{display:block;max-width:100%}.meta{color:#777}.meta span a{color:#777;display:inline;text-decoration:none}.divider{display:inline-block;flex:1;border-top:1px solid #ddd;margin:0 10px}.lista .meta{align-items:center;display:flex;padding-bottom:.85em}a,a:visited{color:initial}.list{list-style-type:none;padding-left:0;margin:0}.list li{margin-bottom:.5rem}time{color:#777;font-variant-numeric:tabular-nums}blockquote{border-left:2px solid #777;padding:.5rem 1rem;margin:2rem 0}table{border-collapse:collapse;text-align:left;width:100%}table th,table td{padding:10px 20px}.posts ul,header ul,footer ul{list-style:none}.posts,header ul,footer ul{padding:0}.posts li{align-items:center;display:flex;justify-content:space-between;margin-bottom:.7rem}.posts li a,.posts li div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-decoration:none}.posts li time{padding-left:1rem;white-space:nowrap;font-variant-numeric:tabular-nums}code,pre{color:#353535;font-family:San Francisco Mono,Monaco,consolas,lucida console,dejavu sans mono,bitstream vera sans mono,monospace;font-size:normal;border:1px solid #353535;font-size:small}code{padding:.1rem;border:none}pre{padding:.5rem;overflow-x:auto}pre code{border:none}header li,footer li{display:inline;text-transform:uppercase}header a,footer a{text-decoration:none}header ul,footer ul{justify-content:space-between;display:flex}[aria-current=page]{text-decoration:line-through}header,section,footer{padding:1rem 0}.lista li{list-style-type:none}.lista ul{display:flex;list-style-type:none}.nav{padding-top:-3em}ul{list-style-type:square}ul,ol{padding-left:1.2rem}header li,footer li{display:inline;text-transform:uppercase}header a,footer a{text-decoration:none}header ul,footer ul{justify-content:space-between;display:flex}[aria-current=page]{text-decoration:line-through}blockquote{border-left:5px solid #353535;padding-left:1rem}.posts ul,header ul,footer ul{list-style:none}.posts,header ul,footer ul{padding:0}.posts footer{padding-top:-10em}.posts li{align-items:center;display:flex;justify-content:space-between}.posts li a,.posts li div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-decoration:none}.posts li time{padding-left:1rem;white-space:nowrap;font-variant-numeric:tabular-nums}</style>




<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "BlogPosting",
"articleSection": "posts",
"name": "",
"headline": "",
"alternativeHeadline": "",
"description": "",
"inLanguage": "en-us",
"isFamilyFriendly": "true",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "http:\/\/localhost:1313\/1\/untitled\/"
},
"author" : {
"@type": "Person",
"name": "Daniel Borek"
},
"creator" : {
"@type": "Person",
"name": "Daniel Borek"
},
"accountablePerson" : {
"@type": "Person",
"name": "Daniel Borek"
},
"copyrightHolder" : "Daniel Borek",
"copyrightYear" : "0001",
"dateCreated": "0001-01-01T00:00:00.00Z",
"datePublished": "0001-01-01T00:00:00.00Z",
"dateModified": "0001-01-01T00:00:00.00Z",
"publisher":{
"@type":"Organization",
"name": "Daniel Borek",
"url": "http://localhost:1313/",
"logo": {
"@type": "ImageObject",
"url": "http:\/\/localhost:1313\/",
"width":"32",
"height":"32"
}
},
"image": "http://localhost:1313/",
"url" : "http:\/\/localhost:1313\/1\/untitled\/",
"wordCount" : "0",
"genre" : [ ],
"keywords" : [ ]
}
</script>


</head>
<body>
<main>
<header>
<nav>

<ul>

<li>




<a href="/" >about</a>
</li>

<li>




<a href="/posts/" >index</a>
</li>

<li>




<a href="/atom.xml" >rss</a>
</li>

</ul>
</nav>
</header>
<hr>



<section>


<h2 itemprop="name headline"></h2>



<p class="meta">

<time itemprop="datePublished" datetime="0001-01-01"> January 01, 0001</time> &bull;


<span class="date-info italic"> <br> Edited on 01.01.0001</span>

</p>




<span itemprop="articleBody">

</span>


</section>


<footer>


<script src="https://giscus.app/client.js"
data-repo="danieltomasz/danieltomasz.github.io"
data-repo-id=""
data-category="Comments"
data-category-id=""
data-mapping="title"
data-reactions-enabled="1"
data-emit-metadata="0"
data-input-position="bottom"
data-theme="light"
data-lang="en"
data-loading="lazy"
crossorigin="anonymous"
async>
</script>


<nav>
<ul>
<li>
© 2024
</li>
</ul>
</nav>

</footer>

</main>
</body>

Loading

0 comments on commit 97a94af

Please sign in to comment.