alvin alexander
Nodes for the term “file”
How to display the contents of a gzip/gz file
Read more
Scala/Ammonite: How to load/import a jar file into the REPL
Read more
macOS: How to show a file’s character encoding
Read more
ZIO 2: STDOUT and STDERR console output with foldZIO, success, failure
Read more
ZIO 2: How to read a file and write its output to the console
Read more
Linux: Case-insensitive file searching with locate and find
Read more
Java Jar file: How to read a file from a Jar file
Read more
How to use the Linux 'lsof' command to list open files
Read more
Use zgrep to grep a gzip (gz) file
Read more
Java: How to append text to a file with the FileWriter class
Read more
Scala “split string” examples (field separator, delimiter)
Read more
SQLite backup: How to dump a SQLite database
Read more
How to use ‘awk’ to print columns from a text file (in any order)
Read more
A Linux shell script to rename files with a counter and copy them
Read more
A Java program to open, read, and display an image file
Read more
How to un-tar (extract) one file from a tar archive
Read more
Java BufferedReader examples
Read more
How to use the Linux sed command to edit many files in place (and make a backup copy)
Read more
MySQL backups: How to backup a MySQL database
Read more
My Scala Sed project: More features, returning strings
Read more
Five good ways (and two bad ways) to read large text files with Scala
Read more
A Scala “file find” utility
Read more
How to search for multiple regex patterns in many files with `ffx`
Read more
Dozens of Unix/Linux 'find' command examples
Read more
Dozens of Unix/Linux 'grep' command examples
Read more
Unix/Linux: How to get the top-level directory (only) from a file path
Read more
sbt: How to show the file/directory with 'doc' and 'package' commands
Read more
Java “file exists” testing
Read more
MySQL restore: How to restore a MySQL database from a backup
Read more
Tell Git not to track a file any more (remove from repo)
Read more
Java “file write” (or “file save”) methods
Read more
scala.util.Using: How to read and write files (Using + Source)
Read more
A Scala method to write a list of strings to a file
Read more
A simple Scala Try, Success, Failure example (reading a file)
Read more
Git: View the (detailed) commit history for a single file
Read more
Git: How to compare two different versions of a file
Read more
How to redirect Unix/Linux STDOUT and STDERR to the same file/location
Read more
Java: How to open and read a text file with FileReader and BufferedReader
Read more
Java “file open” and “file read” methods (examples)
Read more
Sorting Unix 'ls' command output by filesize
Read more
Java temporary file: How to create and delete temporary files
Read more
Applescript: How to open a PDF in Preview and go directly to a page
Read more
Linux: How to get the basename from the full filename
Read more
How to process every line in a file with a Unix/Linux shell script
Read more
macOS ‘ls -l’ command: What does ‘@’ mean?
Read more
Shell script error: bad interpreter - No such file or directory
Read more
Remove non-printable ASCII characters from a file with this Unix command
Read more
Unix/Linux: Find all files that contain multiple strings/patterns
Read more
An awk script to extract source code blocks from Markdown files
Read more
How to read a binary file with Scala (FileInputStream, BufferedInputStream)
Read more
Scala: How to use a String during testing instead of an InputStream
Read more
Android/Java: How to get your app’s root data directory
Read more
Scala: How to open and read text files in Scala
Read more
Java sound: A command line Java program to play a sound file (in headless mode)
Read more
How to create directories in Java
Read more
Java: How to list the files in a directory
Read more
A "tar extract multiple" tip - How to extract multiple files from a tar archive
Read more
How to use multiple filename search patterns with Linux find
Read more
Linux: How to find files open by a Linux process (lsof)
Read more
A Java Properties file method
Read more
Scala: How to search a directory tree with SimpleFileVisitor and Files.walkFileTree
Read more
Scala code to find (and move or remove) duplicate files
Read more
MacOS: How to recover lost (deleted) system items in the Finder
Read more
How to copy files to an Android emulator’s data directory with ‘adb push’
Read more
Notes on how to use GraalVM profile-guided optimizations
Read more
Android: How to load an image from a file and set on an ImageView
Read more
Scala: How to read input from one file while writing output to another file
Read more
Java file open, read, and write utilities
Read more
Scala file reading performance: Line counting algorithms
Read more
Mac Finder: How to create a new folder from keyboard
Read more
A Java FileFilter example (list files in a directory with a filter)
Read more
Perl program that reads a pipe-delimited file and prints HTML
Read more
Perl code to read one line from a text file
Read more
A Perl configuration file example
Read more
How to append text to a file with Ruby
Read more
A Linux shell script (and commands) to find large files
Read more
A Bourne shell script that loops through all files in the current directory
Read more
File and directory locations for Mac OS X Scala/Java applications
Read more
A sample MacOS Bash startup file (.bash_profile)
Read more
Linux gzip: How to work with compressed files
Read more
CakePHP log output (Where is it?)
Read more
Saving Mac Stickies, the StickiesDatabase file, and syncing
Read more
Linux ‘find’ example: How to copy one file to many directories
Read more
Linux ‘find’ command recipes
Read more
Linux ‘locate’ command examples
Read more
My “Scala Flat File Database” project now handles newline characters
Read more
How to read and write from a file in a Linux bash shell script
Read more
Using the Linux ‘find’ command with multiple filename patterns
Read more
sed on macOS: How to append multiple lines of text to an HTML or XML file
Read more
A simple Android AsyncTask example
Read more
The Linux wc command (word count)
Read more
The Linux `chmod` command
Read more
Java File IO: How to test whether a file or directory exists
Read more
How to use the Commons IO project to create, delete, and move files and directories
Read more
A Drupal PHP script to log database errors
Read more
Perl file moving: How to move a file using Perl
Read more
Ruby “glob”: How to process each file in a directory that matches a certain pattern
Read more
Error message: mv cannot unlink remove file, operation not permitted
Read more
Git - How to automatically `git rm` all files that have been deleted on disk
Read more
Perl: How to test if a file exists
Read more
A Bash ‘for’ loop to iterate over a file that has blank spaces in its lines
Read more
AppleScript code to read file contents into a list (array)
Read more
How to copy text from the MacOS Terminal to the clipboard
Read more
Perl CSV file column extraction
Read more
How to save the output from a MySQL query to a file
Read more
IntelliJ IDEA: Keystrokes I commonly use on MacOS (OS X)
Read more
Linux file searching: Search for text in files with find and grep commands
Read more
vim: How to go to the last position when reopening a file
Read more
A Ruby temporary file example
Read more
A Java FileReader class example
Read more
How to copy a file in Java
Read more
iPad PDF documents: How to read, transfer, and save
Read more
A shell script to search multiple jar files for a Java class or pattern
Read more
Java directory list - list all files matching a filename pattern
Read more
Sample Cobertura ant build script
Read more
A sample ant build script for a standalone Java application
Read more
How to process every line in a text file with Ruby
Read more
Perl file test - How to determine whether you can read a file
Read more
Put Perl test data in the same file as your source code
Read more
Perl file test operators (reference)
Read more
Perl delete - how to delete a file in a Perl script
Read more
A Perl script to delete binary files
Read more
Java - How to create a Jar file in an Ant target
Read more
Ant FAQ: Ant copy task examples
Read more
Perl “file test” characters (for if/then tests)
Read more
Perl split function - process every word in a file
Read more
Where is Perl looking for modules to include?
Read more
Perl: How to extract lines from the middle of a text file
Read more
A Perl “read file into array” example
Read more
Perl files example - How to open and read data files with Perl
Read more
How to read a file URL in Java and Scala
Read more
How to log output to a file in a Scala application with Grizzled-SLF4J
Read more
Scala: Saving/writing XML to a file
Read more
PHP warning - Unable to load dynamic library ./apc.so (Solution)
Read more
A software “Code Bloat” script (lines of source code per file)
Read more
How to load (open and read) an XML file in Scala
Read more
A long Unix "file management" tutorial page
Read more
Use vimdiff to see the difference between multiple files
Read more
PHP include syntax examples
Read more
A Java FileFilter example
Read more
A Ruby JPEG example - Use Ruby to get the date and time from a JPEG file
Read more
A Perl “write to file” example
Read more
Ruby stdout and stderr
Read more
The Linux file command
Read more
Mac Stickies backups - the Stickies database file location
Read more
An Ant build script for web applications
Read more
Ant WAR task - A sample Ant build script that builds a WAR file
Read more
Perl 'split' function - how to process text data files
Read more
Perl read file example - How to print a range of lines from a text file
Read more
Perl split function - How to process pipe-delimited text files
Read more
A Perl temp file example
Read more
Perl stat - How to determine the access or modification time of a file
Read more
Perl file date tests - How to test when a file was last accessed or modified
Read more
Perl file write test - How to determine if you can write to a file
Read more
Perl - How to process every file in a directory
Read more
Perl file copy - How to copy a file using Perl
Read more
Perl - How to process every file in a directory that matches a pattern
Read more
How to open and sort a CSV file with Ruby
Read more
Ruby CSV - An example of how to split CSV row data into fields
Read more
Java: How to handle drop events to your Mac OS X Dock icon (Part 2)
Read more
Solving the MySQL "can't create/write to file" error message
Read more
Linux rm command man page
Read more
Nagios error code 127, make sure your plugin actually exists
Read more
Perl flock - file locking with Perl
Read more
Use File::Basename to separate a filename from its directory
Read more
How to open the Windows Explorer from WinCVS
Read more
How to use Spotlight to search for files from a Mac OS X Terminal window
Read more
Recovering a deleted file from CVS using Eclipse
Read more
How to make an Ant script fail gracefully if a property file doesn't exist
Read more
Location of the hosts file on Windows
Read more
How to open a file and read its contents using Ruby
Read more
A Ruby write to file example
Read more
A Perl extract program
Read more
Perl directories - How to work on each file in a directory
Read more
Linux ls command - How to show the permissions and size of a directory
Read more
LaTeX examples - my super test file
Read more
sed command example - extract lines from a file
Read more
Perl Excel example - A Perl program to parse Microsoft Excel XLS files
Read more
DOS batch files to compile and run a Java program (and create a jar file)
Read more
Ruby read file example - read a file as a string
Read more
JRuby Java File class error message
Read more
Perl reverse - Reverse file contents with Perl
Read more
Finding files that Spotlight is missing
Read more
Copy files on Mac OS X using drag-and-drop
Read more