Discussion:
How do I change to another directory with a period?
(too old to reply)
Ant
2016-12-04 22:05:51 UTC
Permalink
Hello.

I wanted to save e-mail(s) and view into my
/home/username/.tin/FullPostCopies.txt, but couldn't due to its period.
It doesn't show up. I can access without the beginning period. How can I
access these paths with the beginning periods without renaming them?

Thank you in advance. :)
--
"Not all ants use violence to dominate their world, some use more subtle
methods..." --E.O. Wilson on NOVA
Note: A fixed width font (Courier, Monospace, etc.) is required to see
this signature correctly.
/\___/\ Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
/ /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net
| |o o| |
\ _ / If crediting, then use Ant nickname and AQFL URL/link.
( ) Axe ANT from its address if e-mailing privately.
Rich
2016-12-05 00:18:00 UTC
Permalink
Post by Ant
Hello.
I wanted to save e-mail(s) and view into my
/home/username/.tin/FullPostCopies.txt, but couldn't due to its period.
It doesn't show up. I can access without the beginning period. How can I
access these paths with the beginning periods without renaming them?
Just use them as you would use any other directory name. Leading dots
just tell tools to hide them from view, but if you type the name in
directly, they are still present and work just like any other
directory.
Ant
2016-12-05 01:44:57 UTC
Permalink
Post by Rich
Post by Ant
Hello.
I wanted to save e-mail(s) and view into my
/home/username/.tin/FullPostCopies.txt, but couldn't due to its period.
It doesn't show up. I can access without the beginning period. How can I
access these paths with the beginning periods without renaming them?
Just use them as you would use any other directory name. Leading dots
just tell tools to hide them from view, but if you type the name in
directly, they are still present and work just like any other
directory.
Hmm, I don't see these .<directory> in the file navigation though.
--
Quote of the Week: "Be thine enemy an ant, see in him(her!) an elephant." --Turkish Proverb
Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly.
/\___/\ Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site)
/ /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net
| |o o| |
\ _ / Please nuke ANT if replying by e-mail privately. If credit-
( ) ing, then please kindly use Ant nickname and AQFL URL/link.
Rich
2016-12-05 02:04:56 UTC
Permalink
Post by Ant
Post by Rich
Post by Ant
Hello.
I wanted to save e-mail(s) and view into my
/home/username/.tin/FullPostCopies.txt, but couldn't due to its period.
It doesn't show up. I can access without the beginning period. How can I
access these paths with the beginning periods without renaming them?
Just use them as you would use any other directory name. Leading dots
just tell tools to hide them from view, but if you type the name in
directly, they are still present and work just like any other
directory.
Hmm, I don't see these .<directory> in the file navigation though.
Hidden from view does not mean missing. They are still there, and if
you type their names in, they should appear:

% ls .tin

will show everything in .tin
Ant
2016-12-05 05:43:37 UTC
Permalink
Post by Rich
Post by Ant
Post by Rich
Post by Ant
Hello.
I wanted to save e-mail(s) and view into my
/home/username/.tin/FullPostCopies.txt, but couldn't due to its period.
It doesn't show up. I can access without the beginning period. How can I
access these paths with the beginning periods without renaming them?
Just use them as you would use any other directory name. Leading dots
just tell tools to hide them from view, but if you type the name in
directly, they are still present and work just like any other
directory.
Hmm, I don't see these .<directory> in the file navigation though.
Hidden from view does not mean missing. They are still there, and if
% ls .tin
will show everything in .tin
Here is an example when I try to save to a mailbox's ? list navigation:
y:Exit c:Chdir m:Mask ?:Help
1 drwxr-xr-x 103 root root 4.0K Sep 10 2015 ../
2 -rwx------ 1 ant ant 0.4K Nov 01 00:15 antsignature-email1.txt*
3 -rwx------ 1 ant ant 0.5K Dec 04 14:18 antsignature-email2.txt*
4 -rwx------ 1 ant ant 0.4K Nov 01 00:15 antsignature-news1.txt*
5 -rwx------ 1 ant ant 0.5K Dec 04 14:18 antsignature-news2.txt*
7 drwx------ 3 ant ant 4.0K Dec 01 00:19 backups/
8 drwx------ 4 ant ant 4.0K Nov 05 07:47 bin/
9 drwx------ 2 ant ant 4.0K Oct 01 21:25 docs/
10 drwx------ 2 ant ant 4.0K Dec 03 14:32 Downloads/
11 -rwx------ 1 ant ant 0.9K Dec 30 21:10 LAKERSquote.txt*
12 drwx------ 3 ant ant 4.0K Dec 02 2014 mail/
[deleted the rest]
-- Mutt: Directory [/home/ant], File mask: !^\.[^.]


How do I get ~/.tin from this navigation menu?
--
Quote of the Week: "Be thine enemy an ant, see in him(her!) an elephant." --Turkish Proverb
Note: A fixed width font (Courier, Monospace, etc.) is required to see this signature correctly.
/\___/\ Ant(Dude) @ http://antfarm.home.dhs.org (Personal Web Site)
/ /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net
| |o o| |
\ _ / Please nuke ANT if replying by e-mail privately. If credit-
( ) ing, then please kindly use Ant nickname and AQFL URL/link.
Ian Zimmerman
2016-12-06 03:08:23 UTC
Permalink
Post by Ant
-- Mutt: Directory [/home/ant], File mask: !^\.[^.]
^^^^^^^

Change that. For example, type

:set mask ".*"<enter>
--
Please *no* private Cc: on mailing lists and newsgroups
Personal signed mail: please _encrypt_ and sign
Don't clear-text sign: http://cr.yp.to/smtp/8bitmime.html
Ian Zimmerman
2016-12-07 01:21:15 UTC
Permalink
Post by Ian Zimmerman
:set mask ".*"<enter>
That should be

:set mask=".*"<enter>

Sorry for that.
--
Please *no* private Cc: on mailing lists and newsgroups
Personal signed mail: please _encrypt_ and sign
Don't clear-text sign: http://cr.yp.to/smtp/8bitmime.html
Shehu Dikko
2016-12-05 10:35:56 UTC
Permalink
Post by Ant
Post by Rich
Post by Ant
Hello.
I wanted to save e-mail(s) and view into my
/home/username/.tin/FullPostCopies.txt, but couldn't due to its period.
It doesn't show up. I can access without the beginning period. How can I
access these paths with the beginning periods without renaming them?
Just use them as you would use any other directory name. Leading dots
just tell tools to hide them from view, but if you type the name in
directly, they are still present and work just like any other
directory.
Hmm, I don't see these .<directory> in the file navigation though.
You have to set a default mail folder in your muttrc:

set folder = /home/username/.tin

All the files in the ~/.tin directory will then show up.

However, the dotfiles in other locations are exluded from the list
shown when you hit '?', and there doesn't seem to be a way to include
them so you have to input the path in full.

"Save to mailbox ('?' for list): =suggested"

So if ~/.tin is not set as folder, edit
=suggested to /home/username/.tin/FullPostCopies.txt

If it is set as folder, just edit =suggested to =nameyouwant and it
will be saved to the default location.

regards,

s h e h u
Dennis Preiser
2016-12-05 12:23:06 UTC
Permalink
Post by Ant
Post by Rich
Post by Ant
Hello.
I wanted to save e-mail(s) and view into my
/home/username/.tin/FullPostCopies.txt, but couldn't due to its period.
It doesn't show up. I can access without the beginning period. How can I
access these paths with the beginning periods without renaming them?
Just use them as you would use any other directory name. Leading dots
just tell tools to hide them from view, but if you type the name in
directly, they are still present and work just like any other
directory.
Hmm, I don't see these .<directory> in the file navigation though.
Setting mask to something which includes the leading dot should help.
Simplified example:

| set mask=".*"

in ~/.muttrc.

Dennis
Loading...