Ubuntu :: Displaying Folder Contents In Another Folder?
Jul 26, 2010
Is there a way to essentially make all of one folders content as a system link in another folder (I have "My Documents" on my external and my computer, they have different things, I'd like to have one "My Documents" which shows both contents and hide the other two
I have a folderA that contains folderB that contains a lot of files. I would like to get rid of folderB, but not its contents. I want those contents to be inside of folderA. How can I accomplish this on the commandline?
Is there a way to recreate all the folders from one directory to another without copying over the contents of the folder? I've been trying to do something like this,
Code:for i in `ls $X`; do mkdir $PATH/$i; doneUnfortunately $i is deliminated by whitespaces in the filenames and not the actual folders.
$X contains only other folders so I dont have to worry about regular files but any kind of more "advanced" solution would work.
can i use one samba share with a folder showing the contents of another directory.shortcuts don't work on non ubuntu systems and it won't resolve links to files no on the share
When try recover a file from thash folder, i cant see the contents, but, when make properties to the folder, show 47 files on the trash folder, and the docklets of docky, also show files (41 files). Ubuntu Lucid 10.04
I know that you can use ls to list the files in a folder, but is there anyway to list the contents of the other folder? Like, say I have a folder labelled "Records", and inside is 12 folders, one for each month. Is there any way to list the contents of the 12 subfolders without just going into each one with cd and using ls?
I'm trying to create a very simple back up script to back up the contents of one folder on my system to an NTFS formatted external hdd. I want to keep the ownerships and permissions of the files I'm backing up intact so I'm putting them into a tar archive. Compression is not necessary as I have plenty of space for the backup.
I have created the initial backup with the following command: Code: tar -cpf $bupath/backup.tar $sourcepath This seemed to work quite well with the resulting file being about 170gb and took about 5hrs. For subsequent backups, the files are probably only going to change by about 10% at most so it seems inefficient to create a whole new backup from scratch. I would like to be able to just update my existing archive with any new/altered files.
I have tried using the update mode (-u) with tar like so:Code: tar -upf $bupath/backup.tar $sourcepath
So far this has been running for about 10hrs and the archive has grown to approx 220gb! What's going wrong here? I was expecting the update to take 30mins max and there be no significant change in the archive size. Am I perhaps misinterpreting the purpose of update mode in tar, or is there something wrong with my command? Is there a better/easy way to accomplish this?
In trying to install an update, I deleted all the programs from my Ubuntu 9.10. Now I can not get my pictures, documents and music from the computer. I tried booting from a Ubuntu Live CD but when I get to the folder of my documents it says "you do not have the permissions necessary to view the contents of "My_Folder"". I tired the nautilus command but that only lets me view the files and not copy them.
I'm keeping my documents, music, and videos etc. on a separate partition from my home directory, formatted with encrypted fat32 so that I can access it from both my windows and my ubuntu installation. So I've made the folders, transferred the files, and I selected custom icons (by right-click, properties, click on custom icon, then select the file from /usr/share/icons/Humanity/places/4.
So far so good. The problem is that the custom icons don't appear in the Places sidebar in Nautilus or the main Places menu in gnome. It just comes up as a regular folder.
See a screenshot of it here.
Does anyone have an idea/workaround so that I can use my custom icons in the Places menu as well? I have tried it with scalable icons, with no difference. I've also tried looking for a configuration file which might have the details in, but I haven't found it - I suppose this probably has something to do with how the Places menu is automatically generated.
I recently changed from Ubuntu 10.10 to Fedora 15, I haven't chosen to make them dual boot because I liked Gnome 3 that much. But I installed them on my second hard disk because then I can move my documents to this OS.But when I go to the Ubuntu files I get this message:The folder contents could not be displayed. You do not have the permissions necessary to view the contents.mage:So now I can't access my documents anymore... Does somebody know how I can move them to Fedora?
I have KDE 4.6.5 and (up until now) I could see and access files and folders on my Desktop. My Desktop was set to display the contents of /home/john/Desktop.
I set this up from Right-click --> Folder View Settings --> View --> Layout --> Folder View. Then Location --> specify a folder == /home/john/Desktop.
But now when I do this I don't see the contents of the /home/john/Desktop folder. Instead I see a blank screen with a tab on the RHS labeled "New Activity".
How do I revert to viewing the traditional Desktop and its traditional contents?
How to list the contents of a folder to a text file. I'm trying to list all my music, including all subfolders, etc. to a text file, but I can't remember the command.
Im assuming there is a simple answer for this but I have yet to find it in forums. I have 2 partitions mounted on my ubuntu desktop, one is Windows C: drive labeled "Core" and the other is D: drive labeled "Reserve" but for some reason I have a second Windows folder on my desktop, when I attempted to delete it it began to delete the Windows files as well, one forum said to right click and "remove from desktop" but this option isnt in the menu. How can I just delete the folder?
Today I uninstalled Zimbra desktop from my Ubuntu 10.04. After doing it, I am facing several problems due to changes in system configuration.
My Home Folder contents are shown on Desktop and if I delete them from Desktop, they are also deleted from the Home Folder. I don't understand why this is happening.
Also, from the side pane in Explorer, the option of Home Folder is not present any more. When ever I go to Home Folder, on the side pane is shows that I am on desktop and the location bar shows that I am in Home Folder.
I have a Windows maching with an attached NAS Drobo device. I have a linux maching running Ubuntu 11.04 and have edited the fstab file and been able to map the windows folders for the Drobo and they all mount up fine. On the Linux machine itself can access these folders and run music/video files from them. But when I'm at another computer and SSH into my Ubunutu maching, I can see the mounted folders using the ls command but I can't see the contents of those folders.
Yesterday on start resume from hibernate, it looked as if my encrypted home directory was unmounted; or at least instead of my $HOME contents I got a bunch of files related to this.
I rebooted the system, and since then my desktop has been rendering icons for every file in my home directory, but not updating the icons until the next reboot, if I change anything in $HOME while it is running.
I opened the gconf-editor and checked: the box for using the home dir as the desktop is not checked. I even tried toggling it and the option that controls drawing the desktop on/off in every possible combination. Nadda. The only thing that works is turning off drawing the desktop.
I have a folder name is /home/kemal. I want to give a permission to an user name is kaplan. I want to see this user name is kaplan that must see kemal folder's contents.
My home folders contents like download , documents .... ae displayed in desktop too and i can't hide them and if i delete one of them the original one will be deleted
I downloaded a FLAC album from a band's label.The weird thing is that I cannot see the folder contents using the standard file browser interface.However, VLC can see and play the files without problem.I don't believe the files have any sort of DRM, but they are legal, FWIW.
I have a parent folder, with a lot of sub folders. basically, i'd like to bring all the contents from the sub folders into the parent folder, and subsequently delete the sub folders. is there one command for this? or do i need to cp -r over and over again, and then manually delete?
im currently trying to configure SE Linux policy for a folder so that only my user with root privileges can access it and not just root but i don't know the commend to run on the folder to change its permissions
I was playing with my linux machine for RHEL preparation. I dont know where i left it last time before going to leave . Now the system is up and I cant take risk to reboot the machine.
That make sense that it wasnt mounted properly in last bootup. but I am not sure.I have to recover it without reboot. Can any one help and sort it out?Please do let me know if you need more outputs.
I'm using fedora8.When i mount shared folder on windows,it was mounting and i can browse the files and directories in terminal as i have full permissions on that.But,when i open the mounted directory in GNOME Environment,it was saying you did not have permissions to see the contents,every directory and file has been locked.
Recently I did a System Mechanics clean-up of invalid and other misc files. The files were moved to the recycle bin, but I couldn't open a file individually while it was in the recyle bin in order to double check whether or not I wanted to perminently delete it. I then selected all items and moved them to a single folder hoping to open it later to review the individual files.I don't know the folder name or what part of the computer this folder was moved to. Is there a way I can find this new folder, name unknown, that was created on 10-12-10? I'm sure it's taking up valuable space in my computer and I want to permently delete the unwanted items individually and not as a whole batch.
Gparted shows that my dual boot laptop has the following partitions: [URL] I want to create a partition and move the contents of my Home folder into it.