197 reputation
215
bio website gaman.pl
location Upper Silesia, Poland
age 35
visits member for 2 years, 5 months
seen Dec 5 at 19:03

I'm just an average person, that uniquely combines strict, engineering mind with a non-schematic, humanistic and magical way of looking on life and surrounding world.

Add a little bit of madness, and you'll get entire picture of me! :]

I'm a developer, both desktop and mobile, with 15+ years of experience and 50+ small-to-big projects on account. In the very same time I'm a writer with similar experience and a lot of books, articles, blog posts or own blogs ideas on account.


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.
Feb
13
comment FTP 550 error when trying to copy file
I found solution myself. It was problem with file owner. cd to directory containing "problematic" file (or any parent one) and execute chown -R trejder * to change the owner of file to my own. Apparently copying file there and back again did something similar. I can't put that answer here, because you put question "on hold". Still can't understand, how questions related to file owners and file rights are off-topic in this site, but OK. No, I haven't checked out that thread, because I wasn't aware of it. Thanks for all, anyway. Cheers.
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.
Jul
5
comment IO Error in rsync while doing everyday backup
@jippie: (1) Script is to long to paste, and this is not necessary. It is really simple. It contains only: preparation of text file, serie of calls to rsync (like that: /usr/bin/rsync --archive --delete --whole-file --verbose --human-readable --cvs-exclude --update --log-file="/backup/hp/docs.log" "/share/MD0_DATA/Docs" /backup/hp/ >> $MAILFILE) with throwing rsync results to that text file, e-mailing me that text file and deleting it. I even resigned from loop, because I had to many strange problems with it (lack of knowledge?) and replaced it with serie of rsync calls.