Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

rename

Best way to swap filenames

August 9, 2022 by Magenaut

I need to swap filenames of two files (file and file_1). I’m using the following code for it.

Categories Q&A, Unix & Linux Tags files, rename, shell, shell-script Leave a comment

Lowercasing all directories under a directory

August 9, 2022 by Magenaut

I want to lowercase every directories’ name under a directory. With which commands can I do that?

Categories Q&A, Unix & Linux Tags command-line, directory, rename Leave a comment

BASH file mass rename with counter

August 9, 2022 by Magenaut

I want to rename all the files in a folder with PREFIX+COUNTER+FILENAME

Categories Q&A, Unix & Linux Tags bash, rename Leave a comment

Rename multiple files with mv to change the extension

August 9, 2022 by Magenaut

I want to rename files to change their extension, effectively looking to accomplish

Categories Q&A, Unix & Linux Tags mv, rename Leave a comment

How can I rename photos, given the EXIF data?

August 9, 2022 by Magenaut

Let’s say I have a bunch of photos, all with correct EXIF information, and the photos are randomly named (because of a problem I had). I have a little program called jhead which gives me the below output:

Categories Q&A, Unix & Linux Tags bash, exif, python, rename Leave a comment

Renaming files in lexicographical order with a numerical pattern that increases sequentially with fixed padding

August 9, 2022 by Magenaut

I have files such as

Categories Q&A, Unix & Linux Tags filenames, rename, zsh Leave a comment

the slash (/) after a directory name on shell commands

August 8, 2022 by Magenaut

I have a little question here.

Categories Q&A, Unix & Linux Tags directory, filenames, rename, slash Leave a comment

Batch renaming files with pattern

August 8, 2022 by Magenaut

I have some files named like these:

Categories Q&A, Unix & Linux Tags bash, rename Leave a comment

Is it possible to rename a file or directory using the inode?

August 8, 2022 by Magenaut

I changed the /home directory to a different partition and couldn’t access the files from it, something I have been able to solve from this question – How do you access the contents of a previous mount after switching to a different the partition?.

Categories Q&A, Unix & Linux Tags inode, rename Leave a comment

renaming images to include creation date in name

August 8, 2022 by Magenaut

When I look at the properties of an image, I can see the date the photo was taken in “Date Taken”. When I edit the images (proprietary program) this data gets lost.

Categories Q&A, Unix & Linux Tags images, rename Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 Page5 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress