![]() ![]() exe extension, you almost always want to avoid opening it, once again to avoid malware. If you receive an attachment in your email and see the. exe extensions lets you know you’re dealing with a program. vbs extension tells you you’re about to open a Visual Basic script which will run commands on your computer – one way that malware can strike. The extensions also help you spot files which may be dangerous to open.Yes, the little file icons help, too, but those icons aren’t always easily identifiable. ppt extension on the presentation helps you see which is which at a glance. xls extension on the spreadsheet and the. For example, if you have an Excel spreadsheet named 4th Quarter Budget and a PowerPoint presentation also called 4th Quarter Budget, seeing the. ![]() The extensions help you distinguish between similarly named files.Those extensions tell you the type of file you’re dealing with and which type of program you’ll need in order to view or edit the file.Being able to see file extensions is a good thing. This supposedly makes things less confusing in fact, it’s a piece of paternalistic boneheadedness. Microsoft has been hiding file extensions from users in version after version of Windows. jpg image files and rename the first one Dad’s Birthday, you’ll end up with files named The filename of the last file you clicked will be selected.Įach of the files will be renamed, with sequential numbering used to distinguish one file from another. You can select a group of contiguous files by click the first one and then Shift clicking the last one you can select any number of files by Ctrl clicking each file or to select all files in a folder, press Ctrl A. To change a whole batch of files at once: It’s a small change from the previous method, where you had to manually select the filename before editing, but it saves a lot of time. Type the new filename and press Enter.Windows automatically selects the filename so that anything you type will replace the existing name. Click the file to select it, then click once more.You'll find it here.It’s easier to change filenames in Vista and Windows 7 than in previous versions of Windows. There is also another program that can be used to rename thje files after theit exif data. ![]() Run without deletion first so you can see what's going to happen. There are also options that you can use to delete the duplicates:įdupes -recurse -omitfirst -sameline ~/photos | xargs rmīe careful of any option that automatically deletes files. Will list all duplicate files in your photos directory. This compares the contents of files, so it will find duplicates even if they have different names and timestamps. The solution to your duplicates problem is a program called fdupes (available from or as an RPM for FC6). Open the terminal in the appropriate folder and type: When you don't have good EXIF data in the files, than a simple redate command can be used with the touch command. This will stop any files being overwritten. The final command renames the file, using the -i option to mv in case two files have the same timestamp. The next line sets the file's timestamp to this date the horrible looking sed regular expression is necessary to insert a dot before the final two characters, because the touch command expects the seconds to be separated from the rest of the time string like this. The next extracts the Date/Time Original tag from each file (you may need to use Create Data instead, depending on your camera) and removes the spaces and colons. The first line finds all *.jpg files in the current directory and below. For example:įind -name '*.jpg' | while read PIC do DATE=$(exiftool -p '$DateTimeOriginal' $PIC | sed 's///g') touch -t $(echo $DATE | sed 's/\(.$\)/\.\1/') $PIC mv -i $PIC $(dirname $PIC)/$DATE.jpg done You can use this information to rename the files or change their timestamps. My favourite is ExifTool (ExifTool can read and manipulate just about any EXIF information, including extracting the Date/Time Original or Create Data EXIF tags. There are several programs capable of working with EXIF data. #I removed this line since I didn't want to move the files. Now you can see it changeing life in your filemanager.ĭATE=$(exiftool -p '$Createdate' $PIC | sed 's///g') ![]() Make the file executable and execute it by double clicking in nautilus. On this website I read an interesting solution when you want the linux creation data to be the same as the date in the exif data.īut I modified the tool a bit to suit my needs: Copy and paste in Gedit, and save as exifrename.sh in the directory where you want to change the filedata. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |