mirror of
https://github.com/MidnightCommander/mc
synced 2025-02-05 18:04:37 +03:00
36d59acf97
fixed configure.ac added lib/vfs/mc-vfs/fish/Makefile.am lib/vfs/mc-vfs/fishdef.h moved lib/vfs/mc-vfs/fish/README.fish fixed lib/vfs/mc-vfs/Makefile.am added external scripts in lib/vfs/mc-vfs/fish/ * ls - get gile list * mkdir - make directory * rmdir - remove directory * unlink - delete file * chown - change owner/group of file * chmod - change mode of file * mv - move file * ln - make symlink * hardlink - make hardlink * send - copy file to target host * append - append file to target host (if exists) * get - copy file from target host * info - return resalts of scan remote host (have: perl, sed, awk, etc) Signed-off-by: Andrew Borodin <aborodin@vmail.ru> Signed-off-by: Ilia Maslakov <il.smind@gmail.com> fish.c: optimization and code cleanup Signed-off-by: Andrew Borodin <aborodin@vmail.ru> optimization of FISH environment variables. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
9 lines
182 B
Plaintext
Executable File
9 lines
182 B
Plaintext
Executable File
#LINK $FISH_FILEFROM $FISH_FILETO
|
|
FILEFROM="/${FISH_FILEFROM}"
|
|
FILETO="/${FISH_FILETO}"
|
|
if ln "${FILEFROM}" "${FILETO}" 2>/dev/null; then
|
|
echo "### 000"
|
|
else
|
|
echo "### 500"
|
|
fi
|