A component of a Unix filesystem which contains other items, to organise the filesystem

learn more… | top users | synonyms (3)

1
vote
3answers
149 views

Remove Leading or Trailing Space(s) in File or Folder Names

I worked out a neat way ro get rid of duplicate files. You know, the ones that contain "(1).", "(2).", "(3).", etc. in their names. In a terminal window, at the command line, you type in "rm ...
0
votes
0answers
13 views

What does '$' means in ubuntu directory name

In ubuntu there are some folders whose name start with a '$' character; for example $Recycle.Bin. These folders are normally hidden. As far as I know hidden folders start with '.' character. What is ...
3
votes
3answers
76 views

How to sync two folders on my machine, in one directional syncing?

I have a set-up in which I create a certain file, and subsequently move it into a storage area for that type of file (folder A). There is another folder on my machine where I must also copy the file ...
1
vote
0answers
13 views

How to find files with idone not referenced by any directory

Okay, some time ago I found what seems to be a bug in nautilus. /tmp$ mkdir test/ /tmp$ mkdir test2/ /tmp$ echo "very important stuff" > test/important-file.txt /tmp$ cd .. /tmp$ ln -s /tmp/test/ ...
0
votes
2answers
37 views

Command to copy only folder with files

I have this types of folders folder A | -folder A | - 3files folder B | -folder B | - no files child folders A and B have same name of parent folder A or B. Parent ...
1
vote
1answer
15 views

folder content doesn't get refreshed automatically in ubuntu 14.04

I'm using Ubuntu 14.04 and when I'm doing experiments which creates new files inside a particular folder X. But I can't see these new files inside X without refreshing X. I have increased the count ...
12
votes
2answers
1k views

Rename default user directories

Is it possible to rename default directories like ~/Documents, ~/Music, ~/Videos? Especially I want to rename Videos to Movies. Thanks in advance!
2
votes
0answers
149 views

How do I manually arrange the items in a folder in 14.04?

Icons can be arranged manually on the desktop, but I can't find any way to do it inside any other kind of folder. This is a big shame, as I used to (in 12.04) manually lay out and change the icons ...
2
votes
0answers
49 views

Workaround for bug #889911: creating multiple folders in Nautilus fails

I'm still experiencing https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/889911 (bug was marked as "expired" at the end of 2012). How the bug manifests: Open Nautilus and explore any ...
0
votes
0answers
13 views

How do I get Ubuntu to respect no read, write, or execute permissions for others set by chmod and Nautilus

I do not want to give 'others' read, write, or execute permissions in certain directories or folders. i.e. /home/me/test I am running 14.04.3 desktop. I have navigated to the folder, selected the ...
4
votes
1answer
4k views

Copy only folders not files?

Is there a way to copy an entire directory, but only the folders? I have a corrupt file somewhere in my directory which is causing my hard disks to fail. So instead of copying the corrupt file to ...
7
votes
2answers
454 views

How to get a full size of directory without listing the files/dir within?

I am able to get a size of a directory at the end of the du -h directoryname. But is there a way to get the size without it listing the files/directories within? I'm currently doing it like this: du ...
2
votes
2answers
1k views

Auto mount a disk drive in ubuntu 14.04 LTS (Bookmark directory not found)

I'm using ubuntu 14.04 LTS. When I start my pc and click on any bookmark from the file manager it shows this error: Unable to find the requested file. Please check the spelling and try again. ...
-1
votes
0answers
22 views

Deleted home folder and now can't log into Unity

I accidentally deleted my /home/user folder recently (using rm -f ... command). I managed to recover the important data, yet i cannot log in to unity any more. Logging in via the terminal Ctrl + Alt ...
0
votes
3answers
9k views

Unable to create new folders on Ubuntu and Permissions tab is all greyed out

I freshly installed Ubuntu with lighttpd; I want to add a test file to check if my server works or not. I am, however, unable to create files: when I right clicked and opened the "Permissions" tab I ...
5
votes
3answers
360 views

Script for “extracting” subfolders into parent folder

This gonna be a little bit tricky, I guess :-) When I open a terminal in the folder and run a script, that script should: move all content of all subfolders to a top parent folder (recursively) ...
0
votes
0answers
14 views

“No such file or directory” upon login

After booting up my PC and typing the password to log in something strange happens - Ubuntu is telling me, that there's "no such file or directory" and password box changes to "Log in" button. After I ...
35
votes
4answers
43k views

Why are hard links not allowed for directories?

I am using Ubuntu 12.04 and I am pretty new Linux world. I am really amazed when I try to create hard link for any directory and fail. I can create hard links for files inside file system boundary. I ...
2
votes
1answer
335 views

Rename hundreds of directories [duplicate]

I have more than hundred directories named SP_[number]_date. I'd like to rename all to just SP_[number]. I can only figure out how to do that by mv SP_1_date SP_1 but that will take ages. Can I ...
0
votes
1answer
32 views

How to Customize the size of the Folder & Files in the desktop?

There are some folders in my desktop which seems large in size (Bulky) !!! No Option to change it, Even Right-Click !!! I would like to Customize it. How to do it?
35
votes
6answers
6k views

How can I hide directories without changing their names?

The OCD in me wants directories I do not like the name of to be hidden since I do not interact with them directly. How can I hide directories without using the dot notation?
2
votes
1answer
86 views

Is there a way to search files considering content of archives as well?

I'm trying to find a (very old) file, from which I'm sure it is somewhere on my NAS. Unfortunately I have some of my old files stored inside tar.gz, zip or 7z. Is there any way to search all files ...
12
votes
4answers
1k views

Restore 'cd ..' functionality after following a symbolic link

If I create a symbolic link in the terminal with a command like ln -s /path/to/some/directory symbolicLink and then follow the link with cd symbolicLink the terminal appears to think that the cwd ...
0
votes
2answers
48 views

Run python script when a file has been added to a folder?

Is it possible to run a Python script when a file has been added to a folder? In my scenario I have a folder that contains movies and the Python script gets the details (name, year, plot, rating, ...
1
vote
2answers
36 views

Organising folders

I have several folders ("amazon", "niger", "rhine",...). Inside each of them I have several subfolders ("gfdl", "hadgem", "ipsl",...). Each subfolders is composed by 5 subfolders (e.g. in "amazon", ...
4
votes
4answers
602 views

How to do a octal dump of files in my directories?

I'm reading the Unix Programming Environment book. I came across the od command. The command works for the file contents but not for the directories when I run it. However, this command seems to work ...
0
votes
2answers
391 views

what does /var/lib/update-rc.d/xxx for?

I find there are some files in /var/lib/update-rc.d/, such as: $ more /var/lib/update-rc.d/exim4 update-rc.d exim4 defaults the only content is a update-rc.d command add service to default level. ...
2
votes
1answer
57 views

How Can I Access A Broken Ubuntu 14.04 File System?

Configuration: AWS t2.micro instance (name:webserver) set up with Ubuntu 14.04 LTS; this instance is stopped and the EBS volume (name:broken) containing the instance (name:webserver) has been mounted ...
0
votes
0answers
10 views

Accessing /proc/acpi causes freeze

I noticed this issue when trying to use Bumblebee(allows me to use the discrete GPU) on my laptop.Bumblebee uses bbswitch to switch between GPUs, bbswitch is accessed in /proc/acpi, and whanever it is ...
0
votes
3answers
28 views

Unable to setGID bit on folder

I want that all files and directories inherit the permissions of the tvshow folder. I am trying to set the GID bit, but I have no idea why it's not working. I am using this source for my commands. ...
0
votes
0answers
20 views

Does Rhythmbox have folder play option?

I can select a folder in nautilus, right-click and choose "Open with VLC..." as well as "Open with Rhythmbox" but while the VLC option plays the files in the folder, Rhythmbox doesn't play the ...
1
vote
2answers
138 views

Create full folder structure from “New document” (Templates) menu

If I create a folder inside Templates, when I click "new Document" > "myfolder" it does nothing. That is just a sub directory to organize the templates. But maybe it would be useful to create that ...
5
votes
4answers
119 views

What happens if I attempt to delete Ubuntu itself while logged in?

What would happen if I delete the / directory while logged as root into Ubuntu? Would I get some sort of error to the effect of Error: unable to self-destruct? Or would I actually be able to delete ...
1
vote
3answers
42 views

How do I create a new file in a folder owned by root? Specifically, I want to add a file to /etc/X11/xorg.conf.d

I want to add a new file to /etc/X11/xorg.conf.d as seen at the bottom of this page, but I can't as it's owned by root user. How to? EDIT: I managed it using the information on this page:
1
vote
2answers
110 views

How to select a different autocomplete using the tab shortcut?

I type in for example: cp /media/Macintosh I'm recovering someone's HD so I want to get Then Tab so that it can correctly put in the formatting for Macintosh HD I then want it to complete among a ...
3
votes
1answer
46 views

How can i change the Pictures/Documents/etc directory?

I am a total noob in Ubuntu, and i would like to change the default directory of Documents, Music, Pictures etc. My setting is as follows: 1 partition for Windows 1 partition for ubuntu 1 ...
1
vote
1answer
65 views

Symbolic links lost after restart

I have been working on setting up some symbolic links so that I can easily access directories and files on another internal hard drive. When I create the links they work well, but every time that I ...
1
vote
5answers
4k views

Play video files in a local Lan folder with KDE

I'm trying to play video files in a LAN network folder from within dolphin. These are Samba folders which I can access, delete files and write and copy from. The same video files play perfectly with ...
3
votes
1answer
41 views

How can two files on a CD-ROM have the same inode number yet have a link count of 1?

As I was doing some sorting of my collection of CDs, I found out that processing the output of a find with sort -u was giving me a smaller list than plain sort, so I investigated. Using diff on the ...
0
votes
0answers
40 views

How can I install programs on another drive?

I'm planning on switching from Windows to Ubuntu and with Windows, when you install programs, you can have the option to choose where to install it. How could I do that on Ubuntu? The reason is ...
1
vote
0answers
46 views

My files from Downloads folder are gone

I was trying to make a bootable flashdrive with WIN7 using Yumi in my Ubuntu desktop. The process got stuck at 46% for over half an hour. I tried interrupting it, but it was not possible. So I ...
6
votes
5answers
2k views

Which Folders To Include In backup?

I'm quite new to Ubuntu and want to create a backup. I'm really not sure what files and folders to include so that if I restore my system it will be as it is now. I can't seem to find good details of ...
1
vote
3answers
31 views

bin doesn't exist

I'm trying to make a symbolic link with node and nodejs, but it always returns : No such file or directory I've tried $ cd ~/bin just to get to the directory but it still says No such file or ...
0
votes
0answers
13 views

Recover Directory Links

I've just erroneously launched this command: rm -R symbolic_link_to_dir and now if I go to DIR I can't see the content folders anymore. Fortunately if I enter with my FTP I can see all of the ...
0
votes
0answers
4 views

When I click on my home folder icon, all the directories appear but after 4 seconds they disappear.

When I click on my home folder icon, all the directories appear but after 4 seconds they disappear. If I click on a directoryy icon, sometimes the contents display and stay on but other times they ...
0
votes
2answers
51 views

How to password protect a hidden directory

I want to encrypt and password protect hidden directory and its components (.folder/something/some/) using a secondary password (not login password). I have downloaded Cryptkeeper but i didnt find an ...
2
votes
3answers
103 views

When I create a new directory, create a markdown file with the same name in it

I want to create a lot of directories (manually, using the GUI). I will then want to have inside them a markdown document with the same name as the directory, so this sort of tree: 624466 └ ...
0
votes
2answers
34 views

How to access Ubuntu ~ and . folder

I have read many Questions and Answers here. In some of them there are directories that I cannot find on my computer, for example: /home/username/.local/ ~/.local/share/Steam What is ~, what is ...
6
votes
1answer
99 views

How to detect files with the same name but different extensions?

I have a directory whose files have extension either .JPG or .NEF and I want to delete the files of the form X.NEF for which X.JPG does not exist in the directory. (X here can be any string.) I don't ...
1
vote
1answer
26 views

Backup problem with folder rename (use back in time)

We use Ubuntu Server (14.04) as file server. As backup solution we use "Back in Time". I have a general question about making backups, since we are having problems with the folder names from time to ...