https://macmost.com/e-3460 Placing text files in folders and alongside files can allow you to include notes for those files in a way that you can easily access and edit them. Text files also have a number of other uses and advantages.
00:00 Intro 00:20 Text Files Are Lightweight 00:47 Place Them With Your Document Files 02:48 Text Files Move With Other Files And Get Backed Up 03:41 How To Create Text Files With TextEdit 05:17 Use Text Files For Focused Writing 05:55 Text File Notes Come Along When Sharing 06:36 Tip: TextEdit Supports Math 07:02 Use Third-Party Text Editors 07:40 CSV Files Are Plain Text Spreadsheets 08:58 Consider Using Markdown Within Text Files 10:31 Text Files Show Up In File Searches
This video explains how to use simple plain text files to enhance productivity and organization on a Mac. Unlike dedicated note-taking apps, text files are tiny, universally compatible, and can be stored directly alongside the folders and documents they describe, ensuring that notes remain attached to their relevant files during backups or transfers.
Hi this is Gary with MacMost.com. Let me show you how useful text files can be.
So an often overlooked productivity technique for using computers is to use simple text files
with your other files. Text files are tiny files that just contain plain text. Look at this text
file here. You can see the size is just three bytes, not 3k, three bytes. You can't get pages
documents or word documents anywhere near that size. This one's three bytes because if you open
it, it contains just three characters. There's no overhead at all. So these are really tiny,
like specks of dust on your hard drive, but they can contain lots of information. One way to use
them is to put text files inside of folders to describe the contents of the folder. So for
instance, here in this folder named Project Alpha, I've got a text file also named Project Alpha.
I'm matching the text file name with the folder name. Others may want to use something like
readme.txt every time so it's the same name inside each folder. However you name them,
you could put information in these text files that describes the other files in the folder,
what the entire project is about. You can write these as ongoing notes or as something you may
want to read 10 years from now when you might forget what this was all about. Unlike notes
from the Notes app, they are associated with files. They could be sitting right there in the
folder with the files. If you created a note in the Notes app, it would be in a completely separate
place and you'd have to include an explanation that the note is about something at some point
on your hard drive. Having the text file with files makes them really useful and you can have
one or more in a folder like this, but you could also have ones that are associated with specific
files. Like for instance, here's a PDF and I want to describe what that PDF is about. So I've created
a text file that has the same name and sits there in the same folder. So you might have an entire
folder say of receipts or scans or other things like that and include occasional text files that
have the same name so you have more information there. And you can continue to edit text files
so they can become logs of information. You can have notes about a project and continue to add
more to the notes or put checklists of things in that text file and eliminate each line as you
perform the task. You can use them for any number of things that you would use a note in the Notes app for
except that these text files would be sitting with other files on your drive. And since they do sit
with the other files, that means they can come along with them. If I were to move this folder
somewhere else, everything in it comes along including the text files. And if I were to back
this up or archive this, the text files come along as well. So notes that you create that go with a
file or notes that you create that go with a folder come along with it wherever it goes. And if you're
using Time Machine to backup or any kind of good backup solution, you're going to get versions of
this as well. So if you accidentally delete something out of this text file, then the deleted
portion should be in the previous backup. And that's something you don't get with the Notes app.
If you find these videos valuable, consider joining the more than 3,000 others that support MacMost
through Patreon. You get a sluice of content, course discounts, and more. You can read about it
at macmost.com slash patreon. So how do you create text files? Well, you've got an app on your Mac
that will do it. TextEdit. Launch TextEdit and you can create a text file when you create a new
document. However, you may need to change a setting first. TextEdit actually handles two different
types of files. It can do rich text or plain text. The default for TextEdit is to create rich text
files, which can include styling and there's some file overhead and everything. You can switch it
here in settings to always create a plain text file when you make a new document. Even after you
do that, whichever one you choose, you can always go to format and switch to the other type of
document. But setting this to plain text in the settings is really useful if you plan to use a lot
of text files like I do. Then note that you could also set some other things up for plain text like
which font is used as the plain text font. The file itself doesn't include any font information.
This is just how the window will display it when you look at a text file. You can also set the width
and height of the window when you open up the text file and whether or not that text wraps to a
page. In other words, the line wraps the next one. It just doesn't get cut off to the right. Now you
should know that while it's easy to create and edit text files on a Mac because you've got TextEdit,
you don't have TextEdit on iPadOS or iOS. So you'd need a third-party app to edit text files,
although you can view them just fine in the files app. You can even select and copy text
from existing text files. You can also use plain text files and TextEdit as a distraction-free
writing tool. By writing in TextEdit with plain text, you're not distracted by styling, formatting,
or any of that. You can just concentrate on the words themselves. Then afterwards, you can easily
copy and paste or even open up the text document in Pages or Word to continue working with it.
That's another thing about text files. They've got ultimate compatibility. Any computing system
can open up text files. They're plain and basic. You can be sure that you can open up your text
files on any system now, 10 years from now, and 100 years from now. I already mentioned that they
come along with the folder because they're just files with the other files there. This is
particularly useful when you're sharing files. For instance, if I were to share this folder with
somebody over iCloud or any system, I could have a text file in there that explains what these files
are for, and I could have lots of notes. They could add notes to it as well. You can use this
as a way to communicate. Even if you were to take this folder and then compress it and then send
that zip file to somebody else, that zip file would include all of the files here, including
that text file. In that case, it's definitely handy to name it ReadMe or something like that.
Here are a few additional tips. In TextEdit, you can use math notes with text files. They're not
as full-featured as using them in the Notes app and some other places. You can't use variables,
but you could do basic things like this, type equals, and you'll get the result. Just press
return, and it's there. You could do more complex things like this, and you'll still get the result.
You can also go with other apps to create, read, and edit text files. One that I particularly like
is this free one in the App Store. For instance, I can open this up in TextEdit, but I could also
open with this third-party editor here, which has lots of additional functions that you won't find
in TextEdit. You could always select a text file, use Command-I to get info, then change the
Open With option here and click Change All. Now, all text files would open with that third-party
app instead of TextEdit, and BBEdit is another popular text editor that's been around forever.
Now, .txt files aren't the only kinds of plain text files. You also have CSV files, comma-separated
variables. So, you can create one in TextEdit the same way. So, each line represents a row in a
spreadsheet, and each comma represents a different column. So, you can create a little spreadsheet
as a text file like this. If we save this to the desktop and name it with .csv instead of .txt,
then we get a text file just like any other. I can Control-click it, right-click, or two-finger-click,
and Open With TextEdit, and edit it still as a text file, and you could see that it's really
tiny, 78 bytes, one for every character. But, if I quick-look this file, it'll show me the
information in a table, and by default, the app that opens this is Numbers. So, if I double-click
on this, it's actually going to open Numbers and import that data into a new spreadsheet.
You could also drag and drop into a Numbers document as well. So, if you ever want to store
spreadsheet-like data in the simplest possible way, you can create a CSV file in TextEdit or
any text editor. And one last tip, you may be tempted to try to make some text stand out,
like maybe make this all caps to make the title stand out, or do that for any of these headings,
or include some special characters, or bullets, or something in front of things. You could
certainly do that and come up with your own system for doing that, but if you're wondering
if anybody's come up with a standardized system for making text stand out and kind of simulating
formatting with plain text only, well, there is such a system, and it's called Markdown. So, for
instance, the notes here for this episode in plain text without Markdown look like this. But, if I
wanted to make things look a little neater, but use a standard, then I would have this. I've got
the little hash symbol here showing this is the title, two ashes showing each is a heading, and a
dash and a space for list items like this. There are lots of great guides online for Markdown.
Here's one that you can go to, and you can look at all the different standard ways to do things
like headings, and lists, and other formatting still just using plain text. There are two
advantages to using Markdown in plain text. One is that if you're working with somebody else,
you've got a standard now that you could both use. The other is there are lots of apps out there
that will take Markdown plain text files and actually display them with headings and lists
like you would expect in a rich text, or pages, or word document. So, using the standard can have its
benefits. And one last thing about text files is that since they are there with your regular files,
they will show up in searches. So, for instance, if I searched for this text here, you could see
that I get that text file and some other documents that contain that text. Whereas, if I put that in
a note in the notes app or some other productivity tool, it wouldn't show up when searching for files.
And then when you find the file you want, you can always go to the bottom of the search window here
and see where it's located and go right to that folder to find the other files there. So,
to help with organization and productivity on your Mac, try to incorporate some small plain
text files when you can. Hope you found this useful. Thanks for watching.