I uploaded a local text file omitting the remote location and can't find the file (Ubuntu 16.04).  rsync -chavzP dump.sql user@ip-address   It's not in my home directory or anywhere else that I can tell:  find / -name dump.sql -print   I can re-upload with a remote location, but would like to at least find and remove that 6GB dump that I'm not using.
123315
I accidentally rsynced .thunderbird to user@host instead of to user@host:/home/user.  Where is .thunderbird now?  Is there a good way to search for the folder?
122773
Files disappeared from my computer. On running a system search, they were found in C:\found.001\disk0001.chk  I want to go in there and have a look, if there are other files there too, but it gives me an access denied message. I ran chkdsk but it said no problems.   Ideally I would want to run a recovery utility (not the ones for deleted files) that would restore them all to the respective locations. Though I am lucky, I still have them at this weird place.   I am on windows 7.
54839
Suppose some file "Any File.pdf" is in the Trash (aka ~/.Trash).  How can I determine its original location?  By "original location" I mean the folder where that file would be moved to if one were to apply the "Put Back" command to it (but without actually doing so)?  (See figure below.)  (I had hoped that this information would be available through running "Get Info" on the file, but I did not find it there.)
116370
EDIT: I have since found that by using a folder in the root directory, things get a bit further - I can list the subfiles.  So it really looks like permissions on the folder are the issue.  I'm not sure what else to do besides chmod 777.  I'm trying to configure an anonymous rsync daemon on CentOS 5.9.  If I allow chroot the server reports that chroot fails.  If I disable it, chdir fails.  # rsyncd.conf  max connections = 20 log file = /var/log/rsync.log timeout = 300 use chroot = false  [builds]     path = /home/fuzz/builds     read only = yes     list = yes     uid = nobody     gid = nobody   .  # /etc/xinetd.d/rsync  # default: off # description: The rsync server is a good addition to an ftp server, as it \ #       allows crc checksumming etc. service rsync {         disable = no         socket_type     = stream         wait            = no         user            = root         server          = /usr/bin/rsync         server_args     = --daemon         log_on_failure  += USERID }   I have set all files and folders under /home/fuzz/builds to 777.  The folder is owned by the user fuzz.  On the client side, this works...  $ rsync rsync://host builds   But when I try to view the contents of the builds directory, I get this error...  $ rsync -vvvv rsync://host/builds opening tcp connection to host port 873 Connected to host (10.186.5.90) note: iconv_open("UTF-8", "UTF-8") succeeded. sending daemon args: --server --sender -vvvvde.Lsf . builds/ @ERROR: chdir failed [Receiver] _exit_cleanup(code=5, file=main.c, line=1534): entered rsync error: error starting client-server protocol (code 5) at main.c(1534) [Receiver=3.0.9] [Receiver] _exit_cleanup(code=5, file=main.c, line=1534): about to call exit(5)
59689
I'm just learning to use sftp, and I want to copy a directory from the remote computer to my local computer. If I try  get [directory]   it gives me this error:  Cannot download non-regular file: /home/mpirocch/Documents   get -R doesn't work, either.
117318
I thought tar archive.tar /users/mylocation would work, but it doesn't. How can I do that?
787
I was attempting to utilize the mv command to move a file onto a remote server. I ended up executing the command...  mv sqlreport.php myuser@mywebsite.org   Unfortunately, this did not work. Worse, my file seems to have disappeared. A new file, myuser@mywebsite.org, has appeared, but it is not a directory (In that I cannot cd into it).  Any tips on where my file may have gone, and how to rescue it?
56087
I wanted to try out rsh (or rshell?) - the old, insecure way of logging in remotely.   On my Ubuntu 11.04, it turns out an rsh command exists:  $ which rsh /usr/bin/rsh   ... however, it turns out it is a mere symlink for ssh:  $ ls -la `which rsh` lrwxrwxrwx 1 root root 21 2011-03-25 16:07 /usr/bin/rsh -&gt; /etc/alternatives/rsh  $ ls -la $(readlink -f `which rsh`) -rwxr-xr-x 1 root root 391580 2011-04-02 12:16 /usr/bin/ssh   Does this "old" rsh exist in Ubuntu repositories - and if so, how do I install it? Also, is rsh also split in client and server packages - and if so, which packages are those?
90361
I am able to locate files in a folder containing a specific text string using this command:  grep -lir 'string' ~/directory/*   How do I move the files that appear in the above result to another location?
23448
I managed to make a directory literally named ~.  (Apparently, Python's os.mkdir('~/something') does this.)  How do I remove it without nuking my home?  Also, if it helps, I have my real /home on a separate partition. And the duplicate ~ is located in (the real ) ~.
124030
I want to save a backup of my data on a remote server, but never want the backup server to see the data unencrypted. Editing a single file and backing up should not result in everything being encrypted and sent again. The remote server should preferably not even know the directory structure (and especially not the directory names).  Is there such a solution?
87486
This doesn't work:  tar xf /tmp/foo.tar.gz foo/bar tar: foo/bar: Not found in archive   It's not obvious to me what would do this beyond extracting it in place and moving the files over.
47795
I'd like to essentially tar/gz a directory on a remote machine and save the file to my local computer without having to connect back into my local machine from the remote one. Is there a way to do this over SSH? The tar file doesn't need to be stored on the remote machine, only on the local machine. Is this possible?
35970
I am using the terminal app to ssh and when I do, it conveniently tells me (at the very top) what and where I am logged into for example:  user@computer:/home/user/directory/  and so forth. However, when I exit the ssh session and am sitting nicely at my local directory, it still tells me the directory path of the place I was previously logged in to.  Is there any way to have it tell me that information only when I am actually logged in to a remote machine? I have already gone to Terminal -> preferences -> profiles -> window and I only have "Dimensions" checked.
101768
I am using Ubuntu 15.10 and I had a file name __app.zip and I was wanting to move that inside the folder name testing  To move the file i used the following command after which I cant find the file anymore, from searching online I understand now that i did not need to put / before the folder name.  sudo mv __apps.zip /testing   Is there anyway to get the lost file back?
85102
Using /bin/find /root -name '*.csv' returns:  /root/small_devices.csv /root/locating/located_201606291341.csv /root/locating/located_201606301411.csv /root/locating/g_cache.csv /root/locating/located_201606291747.csv /root/locating/located_201607031511.csv /root/locating/located_201606291746.csv /root/locating/located_201607031510.csv /root/locating/located_201606301412.csv /root/locating/located_201606301415.csv /root/locating/located_201607031512.csv   I don't actually want all the files under /root/locating/, so the expected output is simply /root/small_devices.csv.  Is there an efficient way of using `find' non-recursively?  I'm using CentOS if it matters.
86143
How can I find all files I can not write to?  Would be good if it takes standard permissions and acls into account.  Is there an "easy" way or do I have to parse the permissions myself?