if you're running (Mint) Mate the file manager is Caja
finally started doing caja scripts - never knew...
you can do loads of stuff to files via caja
caja template
filename lower case
2023-11-01 added FAT function 2023-11-02 fixed extension detection 2023-11-04 added single file command line processing
filename garbage & title case
2023-11-04 added single file command line processing blank caja list so single file will process single file processing returns the destination filename
filename title case
2023-11-01 rewrote title case originally read into array but... there's ' -._'... scan the string instead of using array regex =~ is finicky, best to define a variable and use that added FAT function 2023-11-02 fixed extension detection 2023-11-04 added single file command line processing 2023-11-05 added misc spelling corrections: case-t.dat roman numerals up to 20 tag detection 'TAG:'
filename upper case
2023-11-01 added FAT function 2023-11-02 fixed extension detection 2023-11-04 added single file command line processing
date de-tag the file 2023-11-04 added single file command line processing 2024-03-31 detag gitch, directory had date in also, confi=used things
date re-tag the file
FYI this script will also do the same as dte-tag.sh 2023-11-04 added single file command line processing
date tag the file
dte-re-tag.sh does the same thing in addition to re-tagging 2023-11-04 added single file command line processing
exif date tag
select exif data
2024-02-08 rewrote program selecting individual tag gives a lot of data best to show all tags, default, then select from the list added [no data]
totally resets caja
caja stays in memory after first run a total reset is needed to reload caja scripts ~/.config/caja/scripts
garbage stripping comment/youtube tag etc...
2023-11-03 added emoji stripping, 2nd use of until loop 2023-11-04 added single file command line processing 2023-11-14 fixed duplicate removal glitch 2023-12-08 tweaked garbage removal
GPS file converter for caja uses garmin-cvt.sh & related programs moves conversion to extension sub-directory
did this mainly for MapSource MPS -> GPX
2024-04-02 fixed move glitch, was moving _Notes.txt 2024-04-02 removed notify-send, now in garmin-cvt.sh
GPS file converter for caja uses delorme-gpx.sh & related programs moves conversion to extension WinXP/DeLorme
GPS file converter for caja uses delorme-txt.sh & related programs moves conversion to extension WinXP/DeLorme
modification date tag
caja open link directory in new window
something windows always had, now caja can do it caja will follow the link but it becomes part of the current directory this will open the link directory, the actual link source
usage: File -> Scripts -> opn-lnk-dir.sh -or- right(left) click -> Scripts -> opn-lnk-dir.sh
first caja script
caja de-space ' ' -> '_'
caja re-space leading ' ' -> '_'