update file data source
parent
13ce0c6560
commit
0d41af459a
@ -1,20 +1,26 @@
|
|||||||
{
|
{
|
||||||
"description": "Each line is corrupted by a prefix string and wrapped inside quotes, so this may not be suitable for binary files. If a line in the target file begins with a '#' it will not be printed as these lines are parsed as comments. It can also be provided with a directory and will read each file in the directory.",
|
|
||||||
"functions": {
|
"functions": {
|
||||||
"file-read": [
|
"file-read": [
|
||||||
{
|
{
|
||||||
|
"description": "Each input line is treated as a filename for the 'file' command and the output is corrupted by a suffix ':' followed by the result or the error of the operation, so this may not be suitable for binary files.",
|
||||||
|
"code": "file -f [file]\n"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Each line is corrupted by a prefix string and wrapped inside quotes, so this may not be suitable for binary files. If a line in the target file begins with a '#', it will not be printed as these lines are parsed as comments. It can also be provided with a directory and will read each file in the directory.",
|
||||||
"code": "file -m [file]\n"
|
"code": "file -m [file]\n"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"suid": [
|
"suid": [
|
||||||
{
|
{
|
||||||
"code": "./file -m [file]\n"
|
"description": "Each input line is treated as a filename for the 'file' command and the output is corrupted by a suffix ':' followed by the result or the error of the operation, so this may not be suitable for binary files.",
|
||||||
|
"code": "./file -f [file]\n"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"sudo": [
|
"sudo": [
|
||||||
{
|
{
|
||||||
"code": "sudo file -m [file]\n"
|
"description": "Each input line is treated as a filename for the 'file' command and the output is corrupted by a suffix ':' followed by the result or the error of the operation, so this may not be suitable for binary files.",
|
||||||
|
"code": "sudo file -f [file]\n"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue