summaryrefslogtreecommitdiff
path: root/posts/2021-09-26-useful-shell-scripting-and-bulk-renaming-files-with-vim.php
diff options
context:
space:
mode:
Diffstat (limited to 'posts/2021-09-26-useful-shell-scripting-and-bulk-renaming-files-with-vim.php')
-rw-r--r--posts/2021-09-26-useful-shell-scripting-and-bulk-renaming-files-with-vim.php9
1 files changed, 2 insertions, 7 deletions
diff --git a/posts/2021-09-26-useful-shell-scripting-and-bulk-renaming-files-with-vim.php b/posts/2021-09-26-useful-shell-scripting-and-bulk-renaming-files-with-vim.php
index bc88caa..08789b2 100644
--- a/posts/2021-09-26-useful-shell-scripting-and-bulk-renaming-files-with-vim.php
+++ b/posts/2021-09-26-useful-shell-scripting-and-bulk-renaming-files-with-vim.php
@@ -1,10 +1,5 @@
-<?php
-$title = "Useful Shell Scripting and Bulk Renaming Files with Vim";
-if (isset($early) && $early) {
- return;
-}
-include($_SERVER['DOCUMENT_ROOT'] . '/includes/head.php');
-?>
+<h1>Useful Shell Scripting and Bulk Renaming Files with Vim</h1>
+
<p class="description">
I used to use <code>vifm</code>, a terminal file manager, on FreeBSD and Linux. I realized the only feature I was really using was bulk interactive file renaming with <code>vim</code>. So I ditched the file manager altogether and implemented the bulk rename feature in a few lines of shell.