5

Why is this Nautilus script not working over SFTP?

view full story
linux-howto

http://askubuntu.com – I wrote the following script to use it in Nautilus. It merges files into folders. But when I try this for sftp://user@mynas/ it is not working. How can I fix the script to get it working via the remote connections, too? #!/bin/bash IFS=$'\n'; for fullfile in $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS do filename=$(basename "$fullfile") filename=${filename%.*} mkdir $filename mv -f $(basename "$fullfile") ./$filename done (HowTos)