screen command and limitation of line lengh

Questions about IPKG can go here!
Forum rules
1) This is a user forum for Synology users to share experience/help out each other: if you need direct assistance from the Synology technical support team, please use the following form:

https://account.synology.com/support/su ... p?lang=enu



2) To avoid putting users' DiskStation at risk, please don't paste links to any patches provided by our Support team as we will systematically remove them. Our Support team will provide the correct patch for your DiskStation model.
thierryb180381
Beginner
Beginner
Posts: 29
Joined: Mon Dec 23, 2013 12:55 pm

screen command and limitation of line lengh

Unread post by thierryb180381 » Sun Jun 04, 2017 3:10 pm

Hello,

On my DS415Play, Ised this tutoral : https://www.skyminds.net/nas-synology-i ... mentaires/ to install ipkg and adding programs linke "screen" command line.

it works perfect without rebooting the NAS.

But I have a big problem of limitation of line's lengh inside a screen....

So I wanted to do an rsync inside a screen, and it trunks ttarget directory's name..., creating me files into /volum...., as it was not able to continue on the line just below.

Example:
outside screen

Code: Select all

DS415Play> rsync --delete --partial --progress -av /volume1/Videos/.../ /vol
umeUSB1/usbshare1-2/..../
-> it works well

Inside screen:

Code: Select all

# rsync --delete --partial --progress -av /volume1/Videos/.../ /volume...
and autocompletion doesn't work anymore.

so I had to delete quickly this folder which used all space of /...

There is a way to resolve that?

Thanks.
DS415 Play
DSM 6.1.5-15254

thierryb180381
Beginner
Beginner
Posts: 29
Joined: Mon Dec 23, 2013 12:55 pm

Re: screen command and limitation of line lengh

Unread post by thierryb180381 » Sun Jun 04, 2017 10:13 pm

Hello,

It seems working good now with a reboot :).
DS415 Play
DSM 6.1.5-15254

Post Reply

Return to “IPKG”