Releases: IfGremlinThen/DesktopCleanup.sh
Releases · IfGremlinThen/DesktopCleanup.sh
v1.7.0
Additions:
- Added timestamps to logging
- Creates a ~/Games/TCGs directory for TCG decklists
- Added support for
.kra
,.xcf
(~/Pictures/Projects),.flb
,.kdenlive
,.mlt
,.osp
,.ove
,.xges
(~/Videos/Projects),.ogx
(~/Videos/Unsorted),.ydk
(~/Games/TCGs) - Moves <1MB audio files to ~/Music/SFX
Changes:
- Renamed ~/Pictures/Photoshop to ~/Pictures/Projects
- Silenced
grep
output & removedcrontab
job affirmation - Drops extensions from created links
Fixes:
- Skips handling files with matching
.part
s in the same directory - Restored font cache updating
- Fixed linking and executability
- Fixed screenshots
v1.6.0
NOTE: Going forward, releases will be run against shellcheck
for errors.
Additions:
- Added support for
.flatpak
(~/Applications/Linux Packages),.xpi
(~/Applications/Mozilla Extensions),.url
(~/Documents/Webpages),.mid
,.midi
(~/Music/Sheet Music),.rnqs
(~/Games/ROMs/Hacks) - Creates a .log file in ~/Documents
- Color-coded error messages
Changes:
.html
now moves to ~/Documents/Webpages- Renamed ~Games/ROMs/Patches to ~/Games/ROMs/Hacks
- Reduced
ffmpeg
logging
Fixes:
- Rewrote entire script to consolidate functions and resolve outstanding glob errors
- Now only runs
rename
&ffmpeg
if commands can be found ffmpeg
now replaces previous extensions- Removed
rename
command to rename uppercase filenames to lowercase
v1.5.0
Additions:
- Added support for
.flatpakref
(~/Applications/Linux Packages),.apk
(~/Applications/Android),.rar
(~/Documents/Archives),.epub
(~/Documents/Books),.applescript
,.css
,.html
,.php
,.py
,.sh
(~/Documents/Scripts),.raw
,.tiff
(~/Pictures/Unsorted),.sf2
(~/Music/Soundfonts),.srt
(~/Movies/Subtitles), &.ips
(~/Games/ROMs/Patches) - Added
rename
support for 0xF00D.
Changes:
.pdf
now moves to ~/Documents/Books.sav
,.srm
, &.oops
now moves to ~/Games/Save Files.m4p
now moves to ~/Desktop/Dangerous Files due to iTunes DRM causing an error loop in VLCchmod
now merely adds executable permissions instead of all permissions.
Removed:
- Removed support for
.mid
to be re-added later.
Fixes:
- Correctly recognizes
.oops
,.sfc
, &.scx
files. - Creates parent directories if new subdirectories are non-existent.
v1.4.0
Additions:
- Added support for
.7z
,.tar.gz
,.zip
(~/Documents/Archives),.deb
, &.rpm
(~/Applications/Linux Packages) - Converts
.divx
to.mp4
- Installs
.otf
&.ttf
fonts to ~/.local/share/fonts - Links sorted
.appimage
,.x86_64
, &.exe
files to the Desktop
Fixes:
- Now only
echo
s steps and creates directories if relevant filetypes are detected.
v1.3.0
Additions:
- Added support for
.x86_64
(~/Applications),.torrent
(~/Downloads/Torrents),.gblorb
,.z3
,.z5
, &.z8
(~/Games/Text Adventures) - Moves
.numbers
&.m4p
to ~/Desktop/Unconvertable - Runs
chmod 777
in ~/Applications so container applications are executable - Converts
.flv
&.mpg
to.mp4
Fixes:
- Implemented functions to prevent "too many arguments" error when processing more than one file
v1.2.0
Additions:
- Creates a
crontab
job to run desktopcleanup.sh every 15 minutes - Added support for
.ctb
(cherrytree
files),.swf
, (Flash games).n64
,.z64
(N64 roms),.nds
(DS roms),.3ds
(3DS roms),.srm
(snes9x
saves), &.appimage
(~/Applications) filetypes.
Fixes:
- Creates any missing folders
v1.1.1
Fixes:
mv
updated with--backup=t
option to prevent overwriting existing duplicate filenames- Bulk
rename
of all destination directories to un-hide any files hidden bymv backup=t
- Added
if
conditions to allffmpeg
commands to prevent 'no such file or directory' errors - Added
until
conditions to allrm
commands to prevent 'no such file or directory' errors - Updated paths for ROM filetypes to include console brand directories and console subdirectories
v1.1.0
Additions:
- Added support for
.oops
(snes9x
autosaves),.scm
, &.scx
filetypes (Starcraft maps, moves towine
location) - Converts
.avif
to.png
- Converts
.mpga
to.wav
v1.0.0
Initial release version for GitHub.
Starting features include:
- Renames files with any of 6 different foreign characters in their filename
- Converts
.bmp
&.webp
to.png
- Converts
.m4a
to.wav
- Converts
.mov
&.webm
to.mp4
- Creates 'Unsorted' folders in ~/Documents, ~/Pictures, ~/Music, and ~/Videos
- Creates a ~/Pictures/Unsorted/Screenshots subdirectory for files with 'screen' in their name
- Creates a ~/Games/ROMs directory with variety of console-specific subdirectories
- Moves the following filetypes to their above respective folders:
.doc
,.html
,.pdf
,.rtf
,.txt
,.xlsx
,.psd
,.gif
,.jpg
,.jpeg
,.png
,.aiff
,.flac
,.mp3
,.m4b
,.ogg
,.wav
,.3gp
,.avi
,.mkv
,.m4v
,.mp4
,.gba
,.nes
,.sav
,.sfc
, &.smc
- Creates an 'Unconvertable' folder on the Desktop and moves the following filetypes to it:
.avif
,.flv
,.graffle
,.icns
,.mid
,.swf
,.svg
.