简体   繁体   English

是否可以在目录或文件的目录中放置注释?

[英]is it possible to put comments in a directory about a dir or file?

is it possible to put comments in a directory about a dir or file locally on my own machine , appearing in my terminal. 是否可以在我自己的计算机上 ,将出现在目录中的关于目录或文件的注释放在我的本地计算机上 ,出现在我的终端上。 I don't have any kind of GUI, so this would be helpful. 我没有任何GUI,所以这会有所帮助。

Maybe something like, when I do ls -l I will see: 也许像这样,当我执行ls -l我会看到:

file.txt #this is that file I made on tuesday
files    #this is the directory I made with all those other files

If so, what is the tool to do it? 如果是这样,执行该操作的工具是什么?

Is it available for Arch Linux? 它可用于Arch Linux吗?

Yes, there is a tool for that. 是的,有一个工具可以做到这一点。 It is called GIT or SVN. 它称为GIT或SVN。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 tar:无法将目录更改为 <dir> / <file> :不是目录 - tar: can't change directories to <dir>/<file>: not a directory 安装rpm并将文件放入符号链接目录 - Install rpm and put file into symbolic link directory 关于ls,dir和tee的混淆 - A confusion about ls, dir and tee 如何从 Linux (dir1/non-existent-dir/./file) 中不存在的目录中点点 - How to dot-dot from non-existent directory in Linux (dir1/non-existent-dir/./file) 使用Stat和OpenDir()/ ReadDir()以C语言列出当前目录和文件类型(Dir,Reg,Lnk) - List Current Directory and File Types (Dir, Reg, Lnk) in C Language using Stat and OpenDir()/ReadDir() 如何使用 c++ 在 linux 操作系统的 /usr/share/ 目录中创建目录或文件 - How to create dir or file in /usr/share/ directory in linux os using c++ CMake 致命错误:CMakeFiles/<path> .dir/main.cpp.d:没有这样的文件或目录</path> - CMake fatal error: CMakeFiles/<path>.dir/main.cpp.d: No such file or directory git --git-dir="$HOME/.git/" --work-tree="$HOME" status - 失败并显示 bash:没有这样的文件或目录 - git --git-dir="$HOME/.git/" --work-tree="$HOME" status - fails with bash: No such file or directory Docker:处理 tar 文件时出错(退出状态 1):设置数据透视目录时出错:不是目录 - Docker: Error processing tar file(exit status 1): Error setting up pivot dir: not a directory 打开文件目录问题 - open file dir problem
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM