Linux
This section of Astroblahhh.Com contains things related to Linux.
There's not much here yet, but, in the future, most of the stuff here will probably have something to do with Puppy Linux, and especially Lucid Puppy 5.2, since that's what I usually use.
Perl Scripts for Linux
Perl is pre-installed in Lucid Puppy 5.2, and it really comes in handy.
- apollias-zip-backup-script-for-linux-v2.txt New - 8/25/2011
Old Version 5/23/2011This script makes it easy to make zipped backups of whatever files and folders you want. After you get everything set up by following the instructions in the source code, you can run the script just by double-clicking it. It definitely works in Lucid Puppy 5.2, and might work (with slight modifications) in other forms of Linux which have the "zip" shell command.
- simple-folder-opener.txt (Extensive Comments)
simple-folder-opener--fewer-comments.txt (Fewer Comments) New - 5/10/2011I needed a way to make Windows-like shortcuts to folders, since symlinks just weren't doing the job properly. Hence, this Perl script.
Once you get the script set up properly, all you have to do is double-click the script, and the folder you set it to open will be opened by the file manager of your choice (if it's compatible with this script).
You can even give the script a custom icon like this one from IconArchive.com to make it look like a folder shortcut rather than a Perl script.
The extensively-commented version of the script makes the script seem a lot longer and more complicated than it really is. The actual code part of the script is only 3 lines long (4 if you count the "shebang" line).
Windows-Related Stuff
- knt-html-to-ncd.txt - a Perl script which converts KeyNote NF notes to NoteCase 1.9.8's .ncd format. See the source code comments for instructions and details on the imperfections of conversions done by this script. This script should work fine in Windows as well as Linux. New - 4/30/2011
(KeyNote NF is free outliner software for Windows, and NoteCase 1.9.8 is free outliner software for Linux, Windows, MacOS, and maybe other things too).
- replace-filename-chars-windows-cant-handle.txt - a Perl script which goes through all the files in a directory you specify, and renames those files if their file names contain any characters that Windows XP (and probably other versions of Windows) can't handle in file names:
\ : * ? " < > |The filtered characters are changed into dashes.
Before running the script, you'll have to edit two variables in the source code.
Also, the script just won't work in Windows XP (and probably other versions of Windows which I haven't tested this script in). Perl in Windows XP is as powerless as Windows XP itself to do anything with files with
\ / : * ? " < > |in the file name. Windows XP can't open, move, rename, or copy such files.The script doesn't look for forward slashes - / - another character Windows XP can't handle in file names - because I didn't have any files whose names contained /.
Linux-Related Stuff In Other Sections of This Website
- Use Page Title As File Name + Change Unusual Chars To Dashes - This is a modified version of File Title 1.4. The original File Title 1.4 is by Pavel Cvrcek. Unlike the original, my modified version refuses to create file names with any very unusual characters, so it doesn't provoke Linux to give me "Invalid file name" errors.
