LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-09-2015, 05:31 PM   #46
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,664

Original Poster
Rep: Reputation: 136Reputation: 136

Quote:
Originally Posted by joe_2000 View Post
No worries. My hat is off to you for even trying.

It looks as though you are already following my advice by using the dedicated "copy" folder. It obviously does not matter whether you call it "data" or "copy". To be 100 sure check if you are also viewing hidden files (i.e. files starting with a . ).
In the filebrowsers I have been using (including Thunar, which I believe is what you are using) the display of hidden files can be toggled on/off by pressing ctrl-H.

Or, in the terminal, type
Code:
ls -a /home/gregg/Copy
If it shows any files and/or folders that you do not see on your screenshot, these are hidden files.
Thanks Joe. Just so we're on the same page--the Copy folder is from Copy.com. (It's analogous to the Dropbox folder from Dropbox.) The idea is whatever I put into the Copy folder will be synced between the two computers. In my mind what I'd put in there was all data (my writing, photos, personal stuff), although on the other computer I do think there was one bin folder, which is not data.

I ran the ls -a command and was suprised to see some . files. Here's the results:

Quote:
gregg@LG:~/Desktop$ ls -a /home/gregg/Copy
. Baby.odt Desktop FlashFictionTabPhotos
.. Calibre Library documents Photos
125MBflashDrive .copy.cache Downloads SandiskCruzeFlashDrive32GB
aDobe Crucial8GBflashDrive eBooks .user_info
gregg@LG:~/Desktop$
The copy.cache would seem to be a Copy thing (put there by Copy.com). I'm assuming the .user_info is from them too. The two single "." I don't know. And there's the ".." I don't know about that either.

My inclination (as I've followed Copy's instructions) would be to leave it all as it is. What do you think?
 
Old 04-10-2015, 04:56 AM   #47
JeremyBoden
Senior Member
 
Registered: Nov 2011
Distribution: Debian
Posts: 1,151

Rep: Reputation: 237Reputation: 237Reputation: 237
The output from the command is easier to read if you use
Code:
ls -lha /home/gregg/Copy
It will also give you the sizes of files (but not directories).

You will always get a reference to a '.' directory and a '..' directory.

'.' is the /home/gregg/Copy directory and '..' is the /home/gregg directory (i.e. one level up).
 
1 members found this post helpful.
Old 04-10-2015, 07:34 AM   #48
joe_2000
Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 823

Rep: Reputation: 237Reputation: 237Reputation: 237
Quote:
Originally Posted by Gregg Bell View Post
Thanks Joe. Just so we're on the same page--the Copy folder is from Copy.com. (It's analogous to the Dropbox folder from Dropbox.) The idea is whatever I put into the Copy folder will be synced between the two computers. In my mind what I'd put in there was all data (my writing, photos, personal stuff), although on the other computer I do think there was one bin folder, which is not data.

I ran the ls -a command and was suprised to see some . files. Here's the results:



The copy.cache would seem to be a Copy thing (put there by Copy.com). I'm assuming the .user_info is from them too. The two single "." I don't know. And there's the ".." I don't know about that either.

My inclination (as I've followed Copy's instructions) would be to leave it all as it is. What do you think?
Agree with all your thoughts.

. stands for "this directory" and .. stands for "parent directory", as Jeremy pointed out.

If you are using separate folders for dropbox and copy here is no reason that there should be any conflicts. I would avoid an overlap between the two, although I don't have hard facts / experience to prove that this would actually lead to problems. As previously said I use neither of the two services.
 
1 members found this post helpful.
Old 04-10-2015, 01:48 PM   #49
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,664

Original Poster
Rep: Reputation: 136Reputation: 136
Quote:
Originally Posted by JeremyBoden View Post
The output from the command is easier to read if you use
Code:
ls -lha /home/gregg/Copy
It will also give you the sizes of files (but not directories).

You will always get a reference to a '.' directory and a '..' directory.

'.' is the /home/gregg/Copy directory and '..' is the /home/gregg directory (i.e. one level up).
Gotcha. Thanks.

---------- Post added 04-10-15 at 01:48 PM ----------

Last edited by Gregg Bell; 04-10-2015 at 01:50 PM. Reason: two different posts got melded together
 
Old 04-10-2015, 01:51 PM   #50
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,664

Original Poster
Rep: Reputation: 136Reputation: 136
Quote:
Originally Posted by joe_2000 View Post
Agree with all your thoughts.

. stands for "this directory" and .. stands for "parent directory", as Jeremy pointed out.

If you are using separate folders for dropbox and copy here is no reason that there should be any conflicts. I would avoid an overlap between the two, although I don't have hard facts / experience to prove that this would actually lead to problems. As previously said I use neither of the two services.
Thanks Joe. I think I finally have some peace about this. LOL Thanks.
 
  


Reply

Tags
back-up, sync, xubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Please explain how this Read Command works murali2489 Linux - Newbie 10 01-30-2015 01:00 AM
Could somebody explain how this line of code works... trist007 Programming 2 05-12-2009 01:50 PM
Can someone explain how this script works? Sanborn Programming 18 06-15-2007 08:53 AM
Please explain the way the program works. Gins Programming 7 03-22-2006 06:17 PM
Please explain how dd works and what it does ohovus Linux - Newbie 4 12-13-2005 08:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration