Quantcast
Channel: rename – txt
Browsing all 5 articles
Browse latest View live

Change the Extension of Multiple Files in Linux

In this example, we will change all files with extension ‘.info’ to ‘.txt’. Rename all *.info files in one folder rename .info .txt *.info That should read as.. rename <replace this string>...

View Article



Command to Replace a String in all Files in Current Directory

Replaces all instance of ‘<old string>’ with ‘<new sting>’ in all the files of the current directory. perl -pi -e "s/<old string>/<new string>/g;" *...

View Article

Rename an User Group

Rename a group groupmod -n new_group_name old_group_name

View Article

Rename Command

Different way to use the rename command. rename 's/.html$/.php/' *.html

View Article

Rename Images Based on Exif Date

Renames all the files in the current folder based on the Exif date of that image. You’ll need the ‘jhead’ command tool – use apt-get to install it. for i in *; do mv $i "$(jhead $i | grep date | sed...

View Article

Browsing all 5 articles
Browse latest View live




Latest Images