
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
github.com/AnhBigBrother/folder-tree-structure
A CLI application that simulates folder-tree structure.
Prerequisites:
Install:
go install github.com/AnhBigBrother/folder-tree-structure
fts [command]
Available Commands:
add
Add new file or folder
del
Remove file or folder
get
Retrieve file/folder
search
search file/folder by name
show
Show folder-tree structure
help
Help about any command
Flags:
-f
, --file
set is file or not
-d
, --dir
string file/forder's parent directory (default "/")
-n
, --name
string file/folder name (default "NAME")
-t
, --type
string file type (default "txt")
-h
, --help
help for fts
Note: Use fts [command] --help
for more information about a command.
Example:
$ fts add -n folder1
added folder folder1 to directory /
$ fts add -d /folder1 -n folder2
added folder folder2 to directory /folder1
$ fts add -f -d folder1 -n file1 -t txt Lorem ipsum sit amet...
added file file1.txt to directory folder1
$ fts add -f -d /folder1/folder2 -n file2 -t txt Lorem ipsum sit amet...
added file file2.txt to directory /folder1/folder2
$ fts get -f -d /folder1/folder2 -n file2 -t txt
{
"directory": "/folder1/folder2",
"file_name": "file2",
"content": "Lorem ipsum sit amet...",
"file_type": "txt"
}
$ fts get -d /folder1
{
"directory": "/",
"folder_name": "folder1",
"files": [
"file1.txt"
],
"sub_folders": [
"folder2"
]
}
$ fts show
|__ /
|__ folder1
|__ folder2
$ fts del -f -d /folder1/folder2 -n file2 -t txt
Deleted file file2.txt from /folder1/folder2 directory
$ fts del -d /folder1 -n folder2
Deleted folder folder2from /folder1 directory
$ fts search -f file1
found 1 files named 'file1':
{
"directory": "/folder1",
"file_name": "file1",
"content": "Lorem ipsum sit amet...",
"file_type": "txt"
}
$ fts search folder1
found 1 folders named 'folder1':
{
"directory": "/",
"folder_name": "folder1",
"files": [
"file1.txt"
],
"sub_folders": []
}
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.