Ubuntu :: List Folder Contents ?

Jul 20, 2011

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?

View 3 Replies


ADVERTISEMENT

Ubuntu :: List Folder Contents To Text File

Feb 8, 2010

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.

View 3 Replies View Related

Fedora :: Corrupt .gvfs Directory - List The Contents Of /home/Razorblade Folder - Nothing

May 4, 2010

I installed Fedora 12 x64. Now everytime I start my Linux the .gvfs directory in my /home/Razorblade -dir is corrupted. So I have to reboot and start an Linux LiveCD, mount my home partition and delete this folder. After that I can login normally. Symptoms: I am able to login normally, start a browser, start my mail client, list the contents of subfolders of /home/Razorblade/... - everything fine. But as soon as I want to list the contents of my /home/Razorblade folder - nothing but this turning blue thing around the curser. The command line does nothing after "ll /home/Razorblade", sometimes even crashes and closes. As root I am able to do "ll /home/Razorblade" And this is what I get:

[Code]....

View 7 Replies View Related

Ubuntu :: Folder Customization - Put A Different Image On Each Folder To Represent The Contents

Jan 3, 2010

I have a bunch of folders with different stuff in them. I would like to be able to put a different image on each folder to represent the contents.

View 8 Replies View Related

Ubuntu Servers :: Show Folder Contents In Another Folder?

Feb 2, 2011

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

View 5 Replies View Related

General :: Command Line - Move Folder Contents Into Parent Folder

Jun 11, 2010

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?

View 2 Replies View Related

General :: Copy Folder Hierarchy / Recreate All Folders From One Directory Without Copying Over Contents Of Folder?

Jul 2, 2010

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.

View 1 Replies View Related

Ubuntu :: Cp - Copy Only The Folder Contents To New Folder ?

Feb 21, 2010

I should know this but I figured I'd ask before I screw something up.

What is the command to cp just and only the contents of a folder, not the folder itself, into a new folder?

Code: cp -R /path/to/folder/ /to/new/folder/

Is this right?

View 6 Replies View Related

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

View 3 Replies View Related

Ubuntu :: Bash: List Contents Of Folders

Dec 1, 2009

how I sould do the following?

I have a folder called "Downloads" and among its contents there are a bunch of files with "flv" extension.

If I do

Code:
ls path/to/Downloads/*flv
I will get something like this:

[Code]....

(The reason I want something like that has to do with a small script I'm trying to write).

View 5 Replies View Related

General :: List The Contents Of Directory?

Mar 12, 2010

1 List the contents of directory, /dev using a detail listing format and page by page.

2Mount the CDROM to the directory, /media/cdrom.

3 Delete the file "/home/student/myfile" without any confirmation (Assume you have the required file permission to delete this file).

View 1 Replies View Related

General :: List Contents Of All Files Recursively?

Jan 22, 2011

What I would like to do is to print the contents of all text files in a particular directory, recursively. Problem being that there are directories and possibly binaries scattered around in the filesystem as well.

Trying cat * works as long as there are no directories in there, but when there are it gives an error instead and prints nothing.

I'm sure it's easy using file -f or something but I can't figure it!

View 8 Replies View Related

General :: List Dir Contents With Page Breaks

Jan 2, 2011

I can't seem to find any info on a terminal command that lists the contents of a directory with page breaks so that I can view the contents of a very large folder (such as /usr/bin) because if I use ls, it prints so many names that scrolling up won't even cover all of them. We all know the obvious solution is to use a graphical file browser, but I tend to shy away from depending on graphical utilities simply because command line feels faster.

View 3 Replies View Related

General :: Command To List The List Of Folders / Within The Folder

Jan 28, 2010

one command to list the list of folders/ within the folder.

View 4 Replies View Related

Ubuntu :: Cannot See The Contents Of The Trash Folder ?

Jul 5, 2010

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

View 4 Replies View Related

Programming :: How To List Contents Of Directory And Exclude Any Subdirectories

Aug 2, 2010

I'm having trouble figuring out how to list the contents of a directory and exclude any subdirectories.

View 5 Replies View Related

Ubuntu :: Separate Virtual Host To List And Display All Contents In /var/lib/php5?

Apr 3, 2011

I have an ubuntu 8.04 server running a couple of web sites using virtual hosts , apache2, mysql and php. I have noticed that by default php sessions are created in /var/lib/php5 and all stored in plain text.

I have quickly created a php script in a separate virtual host to list and display all contents in /var/lib/php5 , and it seems incredibly easy to see what details the other accounts are storing in sessions.

View 1 Replies View Related

General :: List Folder Size And Number Of Files And Folders In Folder?

Nov 23, 2010

In Linux bash shell, for a given directory, how can I list:The create date for that directory The number of files in that directory The number of subdirectories in that directory.

View 3 Replies View Related

Ubuntu :: Backup Folder Contents To External HDD Using TAR

Apr 19, 2011

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?

View 4 Replies View Related

Ubuntu :: No Permissions Necessary To View Contents Of My Folder

Jan 6, 2010

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.

View 3 Replies View Related

Ubuntu :: Delete Desktop Folder Without Deleting Contents

Oct 7, 2010

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?

View 2 Replies View Related

Ubuntu :: Desktop Showing Contents Of Home Folder?

Mar 14, 2011

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.

View 9 Replies View Related

Ubuntu :: Shared Network Folder Contents Not Showing Up Over SSH?

Jun 20, 2011

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.

View 4 Replies View Related

Ubuntu :: Desktop Showing Wrong Folder Contents

Jul 22, 2011

My ~/Desktop is generally kept empty.

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.

View 3 Replies View Related

Fedora :: The Folder Contents Could Not Be Displayed?

Apr 30, 2011

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?

View 4 Replies View Related

OpenSUSE :: Can't See Contents Of The Desktop Folder On KDE ?

Jul 14, 2011

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?

View 9 Replies View Related

Ubuntu :: Home Folder Contents Appears In Desktop / Hide Them?

Jun 29, 2010

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

View 2 Replies View Related

Ubuntu :: Cannot See Folder Contents Using Standard File Browser Interface

Nov 5, 2010

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.

View 4 Replies View Related

Ubuntu :: Collapsing The Contents Of Sub Folders Into The Parent Folder Via Terminal?

Aug 4, 2011

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?

View 1 Replies View Related

General :: Give Permission To See A Folder Contents?

Sep 23, 2009

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.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved