Reputation
222
Top tag
Next privilege 250 Rep.
View close votes
Badges
4 19
Newest
 Critic
Impact
~13k people reached

Mar
10
comment Make a computer act as a virtual USB device for other equipments
OK. And what about "USB bridged cables" or "USB networking cables" like this, this or this? They seems to allow you to transfer files between two PCs. But, I'm not sure, if they not require a special driver and software and therefore does not allow one PC to act to anothers as pure USB external device, just like OP asked.
Mar
10
comment Make a computer act as a virtual USB device for other equipments
Yeap, that's the point and thanks for the explanation. So, to summarize our discussion: you are not aware of any solution, that would allow to connect PC to another device and act it as host, right?
Mar
10
comment Make a computer act as a virtual USB device for other equipments
Yes, but I'm refferring to your last sentence: "If you want to make a computer into a USB storage device, you can use a mobile phone or tablet with a USB connection". Maybe I'm missing something, but I understand it as "You can use mobile phone or tablet to turn computer into USB storage device". If so, then the question is: How?
Mar
10
comment Make a computer act as a virtual USB device for other equipments
Can you elaborate a bit more, how using a mobile phone could help me turning my PC into a USB storage device / host, that I could plug to another compter, TV or device? I think, I'm missing this point, though I think I have a fair knowledge about USB OTG.
Nov
17
comment Midnight Commander moves files enormously long
Thanks (+1). But, what you're saying, is -- of course -- obvious to me. But, I'm not sure, if we're talking about the same. No matter, whether I'm moving contents of a subfolder (share/Download/Subfolder/*.*) or just the entire subfolder (share/Download/Subfolder), I'm moving files, that are stored in the very same physical location. So -- in my opinion -- move process should have the same speed in both scenarios. It hasn't. So, either I'm missing something obvious about how mv works or something obvious from your answers.
Mar
27
comment IO Error in rsync while doing everyday backup
No and no! :] I've just checked with your command in both sbin and bin folders and e2fsck is the only one, I have there. As for man -- this command has been removed from my very limited distro (this is NAS, not Linux, and creators seems to assume, that user should not use it at all via shell).
Oct
10
comment Two exact copies of folder using FTP and command-line only
@angus: Maybe "many" is to strong word. I've tried rsync+mounting external system (faild) and unison (also failed). Installing additional software is an option, but only if that software is available as IPKG package, because using Optware/IPKG is the only way to install something to that NAS. And AFAIK there is not IPKG package for lftp.
Oct
10
comment Two exact copies of folder using FTP and command-line only
@sch: Exactly as in my answer to Gilles comment above: Two devices in two different networks, one is NAS, second is video-player with some unknown distro on-board, able to be access only via FTP (and Samba).
Oct
10
comment Two exact copies of folder using FTP and command-line only
@Gilles: First option: I have a limited NAS (has rsync and ftp but lacks many system-level commands, clients, services and programs) and even more limited video-player that actually gives out nothing else except FTP (and Samba). To make things even more complex, both devices are not in the same network and are accessible only via external IP (NAS has it own, player is behind NAT and uses DynDNS to workaround dynamic IP address problem).
Oct
9
comment Two exact copies of folder using FTP and command-line only
This does sound interesting, unfortunatelly, there is no lftp on my NAS and no way to install it. I asked for FTP, because this is all I have there. If installing addtional software would be an option, I would problably solve this problem myself, without asking.
Oct
9
comment Two exact copies of folder using FTP and command-line only
This does sound interesting, unfortunatelly, there is no curlftpfs on my NAS and no way to install it. I asked for FTP, because this is all I have there. I'll give a try to wput, but after first look it looks only like a file-transfering tool, so I would have to do all the magic (that rsync does) of finding and sending only modified files myself. I'm pretty sure that it is more than I can handle due to my limited knowledge of Linux/bash.
Oct
9
comment Two exact copies of folder using FTP and command-line only
Hm... I'm a Linux newbie, but I have to revalidate my knowledge. All my sources about rsync that I have read always claimed: You want to use rsync over FTP? You need to find another way to do this. rsync does not work that way! Look here and here for example.
Sep
5
comment Prevent GNU screen from terminating session once executed script ends
Hm... seems you're my life saviour! :] Extending your solution with export IGNOREEOF=1 to prevent accidential termination with Ctrl+D should give me the perfect solution, I've been looking whole long evening. THANKS! :]
Sep
5
comment Prevent GNU screen from terminating session once executed script ends
This script is executing two UDP listeners written in PHP. Though both are executed as daemons (with & at the end), due to buggy server (QNAP), they're are terminated when session ends (I was told, they shouldn't on normal Linux, if executed with &). So I'm not looking to do anything after start_udp_listeners.sh finishes, only how to prevent session from being terminated. As long as it isn't, my PHP listeners are working just fine.
Sep
5
comment Prevent GNU screen from terminating session once executed script ends
Cool! Thanks for an explanation! So... back to the question... is there any way to run a command inside a detached screen/window and NOT to end that session, once command execution ends? Also, please take a look at updated question. Thank you.
Sep
5
comment Prevent GNU screen from terminating session once executed script ends
So... is there a way to open two windows (using command line only, no keyboard combinations), one to execute a script and second to prevent screen from closing? BTW: I still don't get the idea behind! If I call screen -dmS name, I create a detached window, which also has nothing left to do. But it isn't automatically closed! But when I want to execute something in that detached screen, it ends once execution is done. Why? I don't see logic here. Can have window doing nothing, but can't have window doing something and then doing nothing?
Jul
26
comment IO Error in rsync while doing everyday backup
Out of fsck group I have only e2fsck available on my machine. Am I right, that it can only check 'ext2' paritions? Since all other options failed, I have to format my external hard disk, but NAS gives me only ext3 and ext4 options. Does it means, that even after formatting I'll again stay with no tool for checking file system?
Jul
5
comment IO Error in rsync while doing everyday backup
"All files must have a name"? Under Linux, doesn't seems to be true. As "file with empty name" is reported by rsync, not me! :]
Jul
5
comment IO Error in rsync while doing everyday backup
@warl0ck: What are you talking about? ALL the error messages, that I get from rsync are already mentioned in the question. There are two kinds of error messages: "cannot send file with empty name in...", followed by "rsync error: some files/attrs were not transferred (see previous errors)". Nothing else.
Jul
5
comment IO Error in rsync while doing everyday backup
@jippie: (2) How can I give you filenames that rsync dosen't like, if we're talking about files without a name? :] I can only provide you with paths, where it finds these files. But these are just ordinary folders with docs, mp3, movies and this kind of data (multimedia) that I backup.