Questions tagged [directory]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
20 views

Links to folders that don't work

I have a problem in my personal folder, there are links with error that i cann't resolve. I take a problem in the last days, that my desktop shows the icons of my personal folder, but I resolved this ...
Tamatori Hime's user avatar
1 vote
1 answer
113 views

accidentally moved almost all my files in a new directory, is it the end for me?

I was working on a big Latex project and I wanted hide all the file which are not .tex, .pdf, or .png to see clearer in my directory browser. I used the following script : #!/bin/bash # Create a ...
Mc_PanBagnat's user avatar
0 votes
0 answers
21 views

Completely lost a folder converted to unkown file

this is blowing my mind. I got a new fresh installed ubuntu and windows on seperated partitions. From ubuntu, I can access windows partition so I created a folder named REPO_APP inside that contains ...
Tkin R.'s user avatar
  • 151
-2 votes
1 answer
45 views

I am unable to access my desktop through my terminal with Ubuntu. It tells me no such file or directory

The terminal says "No such file or directory":
Ronald Fox's user avatar
-2 votes
1 answer
63 views

Folder named with my gmail account

I want to delete a folder named with my gmail account in Ubuntu dock
Roberto Morini's user avatar
1 vote
0 answers
62 views

Why are files missing from directories when viewed from web?

I am really puzzled by the behaviour of Apache 2 in displaying files contained in folders stored on my unix server. Until recently I had assumed that I could navigate through listings displayed on ...
Norman Friend's user avatar
-4 votes
0 answers
20 views

I want to download phoneinfoga but have tried multiple ways to access it. i have tried cygin amd edirect to acces the folder

hi there can someone help me with an problem I am having.I'm trying to dowload phoneinfoga but can't i have watch multiple videos how to download it i have tried cygix and edirect to acces the folder ...
Ryan James's user avatar
-1 votes
0 answers
95 views

I renamed music folder to some other name

Hi all I renamed the music folder and suddenly I saw Home directory missing. I restarted the ubuntu, then some file system checks going on which are never ending. Please help me: Details: Ubuntu 23.10 ...
Ekaveera Gouribhatla's user avatar
1 vote
2 answers
362 views

How to count subfolders containing numbers?

How can I use Terminal to count all direct subfolders in a directory that contain numbers? So it shouldn't be counted recrusively.
D-T's user avatar
  • 383
0 votes
0 answers
12 views

nautilius views icon or thumbnail

I have several folders containing short videos. Some folders show video icons. Some folders show thumbnails. How do I control which is which? I'm on ubuntu 20.04.6 LTS and files v. 1:3.36.3.0ubuntu1....
Craig's user avatar
  • 1
0 votes
1 answer
148 views

How to automate the compression of the contents of each subfolder in a directory?

I'm looking to automate the compression of the contents of each subfolder (excluding the subfolder itself) in a directory, with each .zip of said contents corresponding to each subfolder. Is there a ...
Nuno Fonseca's user avatar
3 votes
1 answer
93 views

I get logged out of session every time I go four levels deep in any directory with terminal

I'm a big fan of Ubuntu mate and I finally installed the latest LTS version (22.04) on my old 64-bit PC today. However, I found out that any time I try to go four levels deep in a directory using the ...
Precious's user avatar
1 vote
1 answer
47 views

How do i put the desktop shortcut with the rest of the system folders on the folder sidebar?

Ubuntu 22.04 LTS. The only help i could find is people saying i need to drag it to the side and make a new bookmark. This does not put desktop below home where it should be. I did not remove it on ...
Liberated's user avatar
  • 264
6 votes
1 answer
156 views

Where is the Views option that allows me to arrange/sort files in Files (Nautilus)?

I am on a fresh install of Ubuntu 22.04 LTS. I am trying to set the way files are arranged/sorted in a folder. Everywhere I search for how to arrange files in folders, gives me the same answer as the ...
Liberated's user avatar
  • 264
0 votes
0 answers
64 views

How to download to a USB Drive instead of systems hard drive? Ubuntu 20.04 To be Exact

Can somebody show me step by step commands? this is what I get when I do the command "lsblk", I am trying to use the ROCKY one, which is a clear USB Drive/Flash Drive: lsblk NAME MAJ:MIN ...
Khalil W's user avatar
0 votes
0 answers
119 views

Fresh Install Ubuntu 22.04 - unable to see files or folders?

Ubuntu 22.04 Crashed on me and I was unable to recover, so reinstalled (not on this device) Now installed and I can see the drive... But all my folders and files are missing? on running Gdisk I get ...
Mr-Creature's user avatar
0 votes
0 answers
20 views

System Volume Information folder space

I have 30TB of space in Ubuntu 20.04. I'm using it as a backup storage and I have 16TB of space total data. Some day I found backup was not completed because "ran out of space" in the backup ...
Seon Seok's user avatar
0 votes
0 answers
116 views

Rename personal folder

Hi everybody, I'd like to know where and how to change the displayed name of "Home" on the desktop. On this picture,you can see my desktop (Ubuntu 22.04 64 bits, in french, sorry...) where I ...
SAMI's user avatar
  • 1
0 votes
1 answer
71 views

Move files to Sub-Directories via list.txt

I have this Batch file that works quite well, however, I went back to Ubuntu and need to convert these .bat into .sh files. This is the code I have on Windows and it works well. @echo off /u cd /d &...
Lex King's user avatar
1 vote
1 answer
49 views

Move Files from .txt

I have all my files in a parent directory, "Folder". I have a Text document with all their appropriate locations. What I want to do is to move them from Parent directory back to their ...
Lex King's user avatar
0 votes
0 answers
41 views

How to allow both a user and root to access directory? [duplicate]

How can I make /media/creeper39x/TB-Drive be owned by creeper39x, but root have access? Could I have a group with creeper39x and root in it?? Please help.
Creeper39x's user avatar
0 votes
1 answer
767 views

Ubuntu 22.04 Desktop files, icons, folders do NOT appear on desktop,

Ubuntu 22.04 Upgraded 20.04 installation. Desktop files, icons, folders do NOT appear on desktop, yet they are in the Desktop folder under Home directory. They will run if I open the Desktop folder ...
standeg's user avatar
0 votes
0 answers
25 views

How do I apply different folder colors system-wide?

I want to be clear that I am not asking about how to use the folder color application. I found a set of folder icons in usr/share/icons/Papirus/128x128/places and wanted to know how to tell my system ...
Fictotum's user avatar
  • 101
0 votes
0 answers
64 views

How to copy an existing specific file in a directory into a newly created subdirectory from command prompt using shell script

I'm having a little issues trying to make a copy of a pre-existing file (specifically java) from the current directory to a subdirectory (and some copies to its subdirectory and so on depending on the ...
Casey Collins's user avatar
0 votes
1 answer
66 views

How to change directory to a filename with spaces within a loop

I'm not sure how to go about this, but I've been trying to loop through different directories to make a number of files. Example: In the current directory, there are 3 directories: Roman Empire Casa ...
Casey Collins's user avatar
0 votes
0 answers
42 views

Mount Windows 2016 Share to Ubuntu 20.0.4

I am trying to mount two Windows shared folders from the Windows 2012R2 Standard server and the Windows 2016 Standard server to the Ubuntu 20.0.4 server. The Linux Server successfully mount the ...
Jigar Patel's user avatar
0 votes
0 answers
25 views

scp - lack of consistency

I've observed a strange behaviour copying files from a remote server with scp. I had a directory containing many subdirectories with files. directory ├── directory1 │   ├── file1.txt │   ├── file2.txt ...
maciejwww's user avatar
  • 201
0 votes
1 answer
228 views

Directory changes in Ubuntu 22.04

I was reading Ubuntu Linux Unleashed 2021 by Matthew Helmke and found the location of many configuration files/directories mentioned on the book has been moved or changed drastically.Why is that and ...
Jims-Rc's user avatar
  • 11
0 votes
1 answer
501 views

Folder not showing up showing up with `ls`

I have a folder I can cd into by simply using cd /path. However, when I use ls, the folder doesn't show up, and it's not hidden, meaning that ls -a doesn't make it appear, either. What could account ...
snapcrack's user avatar
  • 297
2 votes
1 answer
260 views

Why suddenly appears mounted the /media/username/disk?

For Distributor ID: Ubuntu Description: Ubuntu 22.04.3 LTS Release: 22.04 Codename: jammy Just today, few minutes ago through the Dock, I did do realize that was mounted the /media/username/...
Manuel Jordan's user avatar
-1 votes
1 answer
121 views

How could i have certain directories in a removable device?

Lets say i want this directory structure on a SD card: SD ├── log -> var/log ├── dbs -> var/db └── desktop -> home/desktop (its just an example) This is so everytime a file goes into /var/...
Luis Fernando Landaeta Vargas's user avatar
0 votes
0 answers
84 views

Invisible files/folders

I cannot see some files and folders. I know they are not flagged as hidden. I have show hidden file enabled and used ls -a. I know they are there because I can use commands like cd (in terminal) or ...
hm8998's user avatar
  • 1
0 votes
1 answer
134 views

How to remove/hide personal directories on desktop screen?

How do I remove/hide my personal directories (Music, Documents, etc) from the desktop? After an update, my desktop changed and is showing my personal directories (Music, Documents, etc). Before the ...
grammjr's user avatar
0 votes
2 answers
823 views

Ubuntu 22.04 rewriting user-dirs.dirs

I am using Ubuntu 22.04. After one update, the file ~/.config/user-dirs.dirs has changed the lines XDG_DESKTOP_DIR="$HOME/" XDG_PUBLICSHARE_DIR="$HOME/" So the folder Desktop and ...
Gigiux's user avatar
  • 777
-1 votes
1 answer
174 views

Rename and add a number to all folders in a directory

I have a simulation folder on hpc which contains time directories from 0 to 50 with a step of 0.1 (so 501 folders in total with their names as 0, 0.1, 0.2.. and so forth). Example output of ls: 0 0.1 ...
rku's user avatar
  • 13
0 votes
2 answers
383 views

How Do I Make A Secondary Drive Accessible Through The Main Directory Or In A Way Where Programs That Don't Have A Means To Access It In Their System

I know that title was a bit convoluted, but I am running on 22.04, I have a Samsung M.2 SSD, and Seagate HDD both connected directly to the motherboard. The issue I keep running into is the secondary ...
Sean Martinez's user avatar
0 votes
1 answer
308 views

Bash script with different CWD from parent shell?

I'm doing a puzzle for my computer science class where I need to execute the binary /challenge/executable via a shell script, from the CWD of /tmp/exampledir, with the shell's CWD being a different ...
SpaghettiMan's user avatar
1 vote
0 answers
142 views

Can Ubuntu 22.04 make a virtual drive for a folder?

I have a SSD mounted in /ArchJared and can access it and subfolders just fine from my Ubunto 22.04 command line. I have an install program which wants me to place a CD in a drive so it can copy some ...
HiTechHiTouch's user avatar
0 votes
1 answer
38 views

how to move home screen folders to file manager?

Today Morning i using laptop then i restarting to my laptop then file manager folders coming to home screen so how to move home screen folders to main file manager please help?
Akshay Landge's user avatar
7 votes
3 answers
1k views

Home directories turned into symbolic links without telling me the reason

it was a normal day for me like any other day and I decided to open my Laptop for work and what I see the first is the following: Then, I tried to find out what happened to these folders through the ...
Ayush's user avatar
  • 282
0 votes
0 answers
127 views

Can't restore heavy folder from trash in Ubuntu 22.04

all, and thanks in advance for any help. I'm trying to restore a heavy folder (mostly media files; 1.3TB out of a 2TB internal ssd) from Trash in Ubuntu 22.04, with no success so far. -If I try ...
Bonnie Brae's user avatar
0 votes
0 answers
70 views

how to associate a folders name with a icon

Is there any way within Linux that when i create a folder it automatically gains a system icon based on its name? For example if i create a folder named "java" it will be created ...
Nikolas Rian's user avatar
0 votes
0 answers
29 views

./etc/opt/OS is taking the 49GB of my space while it's not a dir

du -cha --max-depth=1 /etc/opt/OS | grep -E "M|G" 49G /etc/opt/OS 49G total root:/etc/opt# cd /etc/opt/OS bash: cd: /etc/opt/OS: Not a directory root:/etc/opt# dir OS what is the ...
Spong my bob's user avatar
0 votes
1 answer
36 views

Quick preview of folders for fast inspection

i have to inspect something like 500+ folders after a fsck recover. Is there a tool or a cli shortcut to quick preview the content of a folder and, if the files are from a certain type (pdf and mp3 in ...
Gabriele Troscia's user avatar
0 votes
0 answers
38 views

Please help - directory permissions going weird

I've been working on my home server for nearly 2 weeks, at the same time I'm learning Ubuntu and I got everything to a place where I want it, then today - something, went wrong.. I have three main ...
Dan Daley's user avatar
0 votes
2 answers
581 views

Copying and Pasting File paths in Ubuntu / PopOS

I am not able to find a solution to copying and pasting paths when saving a file or while opening a file using Nautilus. I am comparing it with the method used in Windows. On Ubuntu / PopOS I am not ...
modo_incognito's user avatar
0 votes
1 answer
81 views

How to create public accessible directory?

I have an Ubuntu 20.04 in Windows LAN. How can I create a directory which will be accessible (RW) for any application running on Windows workstation (Everyone in Windows) in the LAN. What permissions ...
ZedZip's user avatar
  • 207
0 votes
1 answer
46 views

problem locating folder in ubuntu

I am new to ubuntu so sorry for stupid question. I can go cd /usr in terminal and it lead me to /usr but i dont see any folder named usr in computer can anyone please help me understand what does ...
Pravin Poudel's user avatar
-1 votes
1 answer
474 views

How to copy ONLY parent folder with find and CP?

Why does the following command copy the DCIM folder and it's subfolders and files..I just want the DCIM folder to be copied. find ./"DCIM" -name "DCIM" -maxdepth 0 -type d -exec cp ...
ghostanime2001's user avatar
0 votes
0 answers
27 views

I lose my Explore on ubuntu 20.04 , please help

I was trying to connect my Samsung S21 to my ubuntu and perform some instructions: root@spike:~# history | grep mt 1 sudo add-apt-repository ppa:langdalepl/gvfs-mtp 4 sudo apt-get install ...
julio's user avatar
  • 11

1
2 3 4 5
39