yekcim / my_nautilus_scripts Goto Github PK
View Code? Open in Web Editor NEWMy Nautilus scripts
License: GNU General Public License v3.0
My Nautilus scripts
License: GNU General Public License v3.0
https://ghostbin.com/paste/u4en8
plz check the log
works in cli not in nautilus, no error notification, no joined file
With the release of inkscape 1.0, the cli arguments have changed : for example, in the export to png scripts I had to change the line
inkscape -d "$resolution" -e "$output" "$input"
to
inkscape -d "$resolution" --export-type=png "$input"
Hi,
It seems Nemo (at least) moved their script folder to .local/share/nemo/scripts
Just like nautilus.
Thanks for the scripts by the way, they are neat !
First of all, thanks a lot for these scripts! It's the best and greatest collection I have seen so far.
One thought from my side on this rule:
output โ input, never erase input!
Currently, this increases the number of steps in my workflow significantly. I do not only have to apply the script, but also have to remove the input files afterwards and remove the suffixes of the output files, as I want to keep my folders clean and not too bloated.
I guess the rule aims at easily recovering old files when a script somehow damages it? Could it be an option to trash the input file (making it thereby recoverable via the common system trash function) and write an output with the name of the input? I'm not sure how much work this would be, but even if you're not convinced this should be the default behavior, you could maybe add it as an option at the beginning of the scripts?
Would you be interested to integrate this https://github.com/manojmj92/subtitle-downloader as well ?
Add a "Send by email" for "generic" files
For your information, I have this Nautilus script (which I probably found somewhere and customized a bit) using exiftool instead of jhead which I find useful in converting the ALL UPPERCASE.JPG filenames (from some digital cameras) to lowercase as well as inserting the timestamp at the beginning:
#!/bin/sh
#Nautilus Script to rename EXIF photos and videos with EXIF date and time stamp inserted before filename
for arg
do
tmp=`echo "$arg" | tr '[A-Z]' '[a-z]'`
if [ -f $tmp ]
then
msg="Add EXIF Timestamp: '$tmp' already exists."
gdialog --msgbox "$msg" 100 100
else
mv "$arg" "$tmp"
mv -i "$tmp" "$(exiftool -a -s -CreateDate "$tmp" | sed -n '1p' | awk -F ': ' '{print $2}' | sed -e 's/:/-/g' -e 's/ /_/g')_"$tmp""
fi
done
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.