Questions tagged [directory]
A component of a Unix filesystem which contains other items, to organise the filesystem
1,947
questions
0
votes
0
answers
32
views
Python3 won't recognize my custom module's functions? [closed]
So I have to write a separate module containing the functions for another python program for school.
I have both the main program and the module contained in the same folder/directory, both saved as ....
0
votes
2
answers
58
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 ...
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 ...
0
votes
0
answers
22
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 ...
-2
votes
1
answer
56
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":
-2
votes
1
answer
66
views
Folder named with my gmail account
I want to delete a folder named with my gmail account in Ubuntu dock
1
vote
0
answers
63
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 ...
-4
votes
0
answers
25
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 ...
1
vote
2
answers
365
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.
0
votes
0
answers
13
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....
0
votes
1
answer
154
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 ...
3
votes
1
answer
97
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 ...
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 ...
6
votes
1
answer
164
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 ...
0
votes
0
answers
67
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 ...
0
votes
0
answers
123
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 ...
0
votes
0
answers
22
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 ...
0
votes
0
answers
117
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 ...
0
votes
1
answer
73
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 &...
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 ...
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.
0
votes
1
answer
874
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 ...
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 ...
0
votes
0
answers
65
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 ...
0
votes
1
answer
68
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 ...
0
votes
0
answers
46
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 ...
0
votes
0
answers
26
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
...
0
votes
1
answer
232
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 ...
0
votes
1
answer
537
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 ...
2
votes
1
answer
263
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/...
-1
votes
1
answer
122
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/...
0
votes
0
answers
86
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 ...
0
votes
1
answer
140
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 ...
0
votes
2
answers
910
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 ...
-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 ...
0
votes
2
answers
465
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 ...
0
votes
1
answer
329
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 ...
1
vote
0
answers
144
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 ...
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?
7
votes
3
answers
2k
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 ...
0
votes
0
answers
130
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 ...
0
votes
0
answers
72
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 ...
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 ...
0
votes
1
answer
37
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 ...
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 ...
0
votes
2
answers
613
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 ...
0
votes
1
answer
84
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 ...
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 ...
-1
votes
1
answer
489
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 ...
0
votes
0
answers
30
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 ...