Questions tagged [files]

For questions concerning specifics about the files on Ubuntu. If your question is about the file manager called "Files" in Ubuntu, use the [nautilus] tag instead.

Filter by
Sorted by
Tagged with
0
votes
0answers
25 views

How to get videos off Android phone with USB cable?

I'm on the newest KDE Ubuntu and just trying to move some large videos from the phone to my computer. The KDE connect works great but is too slow for videos. When I connect to the phone with USB, ...
-1
votes
0answers
28 views

How do I launch a file as administrator/not using another application to do so? (Ubuntu 18.04) [on hold]

There is a shell file that I want to run but I can't because I can't run it as administrator (as I did previously on Ubuntu MATE) and there is no appropriate application to run it with. Edit: I sent ...
0
votes
1answer
24 views

How do I add new locations to right-click menu of “Files” launcher in Ubuntu dock?

While this question is a precise duplicate of another (How do I add new locations to "Files" launcher in Ubuntu dock?), I believe that it has been incorrectly marked as duplicate, and has ...
0
votes
2answers
39 views

how to run the files within a folder using an executable file?

I want to run some files within a directory (mike1). I have to use an executable file that is in another directory(Zacros). How can I do it? The software's manual says: "Zacros expects all the right ...
0
votes
0answers
31 views

Apache/htaccess: How to allow read/download file

I'm searching how to allow read/download file to from my website for any file with any permission in my web directory. It should be an good thing if I could allow it also for the sub-directories. ...
2
votes
3answers
58 views

is there an LS for users?

I want to see what files and folders a user on my system has permission to. I am an admin, on the system. how do I get more information about what files and folders a user can access? Command line ...
2
votes
0answers
28 views

Difference between lsof and ulimit -a

I have a problem in my jaxws-service and it returns the error: too many open files I wanted to monitor open files. When I inserted lsof, a file used by tomcat is returning a number that is higher ...
1
vote
1answer
75 views

How to find the large directory which is reserving the biggest disk space? [duplicate]

How to find (as grouped) the directory who is taking all the disk spaces? # df -h Filesystem Size Used Avail Use% Mounted on /dev/vda1 60G 54G 6.4G 90% / devtmpfs 1.4G 0 ...
0
votes
0answers
45 views

Syntax to file path in css

I would like to type the following command in a css file. background: #2c001e url(file:///home/user/.local/share/backgrounds/mypic.jpg) However, I don't want to explicitly declare the user path /...
0
votes
1answer
58 views

The 'ls -lS' command shows weird folders sizes

My laptop says the disk is full, so I'm trying to make some space by removing some files. But the ls output doesn't make sense for me. The Downloads directory, in reality, is empty... I guess the ...
7
votes
1answer
90 views

How to know the size of a package

Lets say I want to install the gcc package using sudo apt-get install gcc but before I want to know the size of it, is there a command for that ?
2
votes
0answers
22 views

Folder with red and green arrows - what does this mean and why can't I see this in Files?

Does anyone know what these arrows mean and why I cannot see this folder in "Files" as a selectable folder? My media is loaded in my ZFS array here but I cannot see this folder to populate my Plex ...
0
votes
0answers
34 views

Size of file was 10MB, after reboot it 0 Bytes

I have file .blend. Yesterday it was about 10MB. Now it is just 0 Byte. How can i restore it. Ubuntu define this file as empty file
-1
votes
0answers
27 views

Associate file *name* with certain program

Is it possible to associate the name of a file so it is opened with certain application? For instance, I want the main.tex to be opened with TeXstudio, but the regular *.tex files with a simple plane ...
2
votes
1answer
60 views

Use bash and ffmpeg in 18.04 to concatenate multiple 3GP files to one 3GP file, matching by date YYYYMMDD in filename

I have these example files in an Ubuntu 18.04 system: VID_20190407_160033.3gp VID_20190407_161444.3gp VID_20190407_161609.3gp VID_20190415_183315.3gp VID_20190415_183411.3gp ...
2
votes
1answer
55 views

Merging individual files from two folders sequentially (never asked question)

I need to merge the contents of two folders sequentially into individual destinations. Here is what i have. A,B,C,D,E,F are individual files. Folder 1: A B C ... Folder 2: D E F ... At the output i ...
0
votes
2answers
36 views

locating the directories/file name

I have a file with name client.txt which contains the company names as below google amazon facebook apple With these company names, I have folders and files. I want to know the path of all folders/...
11
votes
6answers
1k views

'Overwrote' files, space still occupied, are they lost?

So dumb impatient me used the following script on my 19.04 server in an attempt to move a bunch of video files into folders with prefixes : dirs=(A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) ...
0
votes
0answers
9 views

ubuntu 18.04 print to file on LAN and copy/paste to LAN stopped working

Starting about September 9, 2019 when I try to print a document to a file on a NAS device on my LAN the dialog appears to be creating the pdf, but the file does not appear at the destination. The ...
0
votes
1answer
80 views

How do I fix a “failed to open file at location” error? Specifically a video file

My command is the following: ./build/bin/FaceLandmarkVid -f "./samples/default.wmv" I am trying to run a tool on a video stored in samples folder. It gives me the following error: Failed to open ...
0
votes
0answers
48 views

Files missing after logout?

I just started Ubuntu. I changed some settings and needed to logout and in again. Once I logged back in (Live Session User) the files and installs I had made were missing. Also the settings were ...
0
votes
0answers
35 views

How to access images from Ubuntu command line on Windows directory?

My command is: ./build/bin/FaceLandmarkImg -f "./mnt/c/Users/topgu/Desktop/Test/sample7.jpg" I'm trying to implement the OpenFace tool on my own image but it's not working. I first tried by pasting ...
2
votes
3answers
108 views

how do delete file called \\.\pipe\FC_{6D57D5C3-9CEA-4497-BE57-9E544137A437}_1

I somehow got this file \.\pipe\FC_{6D57D5C3-9CEA-4497-BE57-9E544137A437}_1 on my home dir. Tried deleting with rm and tab completion using the following prefixes: ./\ ./\. ./\.\p but it seems to ...
4
votes
1answer
59 views

Why is the output of this find -newermt command apparently not in order?

When I run touch a.txt && sleep 0.1 && \ touch b.txt && sleep 0.1 && \ touch c.txt && sleep 0.1 && \ touch d.txt && sleep 0.1 && \ ...
0
votes
0answers
14 views

Determing Missing Compiler / Files

I am very new to Linux. My question is this : I have installed CodeBlocks IDE, and tried to compile a simple "Hello World" program to no avail. After researching and looking at the output errors in ...
2
votes
2answers
41 views

How to merge two files' data line by line?

I have two files, and want to merge data line by line. The input files are file.txt and file2.txt. file1.txt howareu abc zooo file2.txt 123 @@ 099 I want to merge the two file, such that output ...
2
votes
1answer
32 views

get hidden details (eg. author) of a file as in windows

Is there a way to find, in Linux, details as given in Windows machine? By details, I mean author, etc. Like in this figure (Source : Super User).
0
votes
0answers
56 views

Computer shut down during large update

My computer shut down during a large update and now I am having problems with it. I cannot connect anything to bluetooth, my files wont open, and I am not able to open the terminal to do any sort of ...
0
votes
1answer
31 views

How to copy files from a certain range into another directory from terminal?

I want to copy files 50,000 to 100,000 into a separate directory and I'm not sure how to go about doing this. For more context, I want to create a smaller dataset of images (50,000) from a larger ...
-1
votes
1answer
42 views

cannot remove 'known_hosts': operation not permitted

I am having problems with my remmina remote desktop and I've been searching online how to fix it. As mentioned here and in other posts on this forum, one suggestion is to try: rm ~/.freerdp/...
2
votes
1answer
36 views

Directories aren't on the beginning of the view in Nautilus file manager, how to change this?

I am on Ubuntu 19.04. I have probably clicked some shortcut which changed directory view in Nautilus (Files application) and for a few days all directories are sorted like on the screenshot. I can't ...
1
vote
1answer
117 views

Nautilus files sidebar occupies more than half of page

This might be a stupid question but it troubled me for 1 hour and I'm still unable to solve. I accidentally clicked something in nautilus file management after which the sidebar occupies half of the ...
0
votes
1answer
66 views

Add tags to files and directories on file browser

I'd like to add a tag to the files or directories (tag=simbol). This tag would be visible on Files (3.32.1-stable). I'm using Ubuntu 19.04.
0
votes
1answer
23 views

How to remove decimal date from a text file?

I have a text file where date many times appear in two formats e.g. 01.01.10 or 01.01.2010 Is there any command that will remove all the dates from a text file? Any help would be appreciated.
0
votes
1answer
45 views

PhotoRec extension customization is taking parts not defined in the signature

when i tried to recover my .m files which are considered as .txt for photorec. I tried to add my own extension. After creating .m file containing the word tic while in the .photorec.sig file i added ...
0
votes
0answers
24 views

Change icons for a specific file type in Ubuntu 18.04 [duplicate]

I want to change the icons for a specific file type (*.py to be specific) on Ubuntu 18.04. What's the simplest way to do it? I'm using Ubuntu-mono-Dark as the icon theme.
0
votes
0answers
15 views

Is there some extension to add color labels to the file manager? I use Ubuntu 18.04 LTS [duplicate]

I'd like to label files with colors, like in the MacOs. I run Ubuntu 18.04.
2
votes
1answer
74 views

Recent directory missing

Today 16.04 told me that a new version was available (18.04) and I decided to try it. I can't measure it, but 18.04 seems a little snappier. But my Recent directory no longer appears in my list. I ...
0
votes
1answer
34 views

Copy file that is been written

I have a file that is constantly been written and is getting to big. I need to copy the existing one to another name and at the same time create a new file with the same name so the process that is ...
4
votes
1answer
269 views

ICO or PNG Format?

Kind of a dumb question, but which file format are ubuntu icons (in apps and dash to dock) are they .png or .ico files? I want to create some icon/themes for ubuntu. But I'm not sure which format to ...
0
votes
1answer
39 views

Files disappearing after mv command

I trying to learn how to move files around. I made some test files and directories to practice with. When I try to move a file from one directory to the other, the file just completely disappears. I ...
3
votes
1answer
46 views

Removing certain file types that do not contain the hostname in the file name

I am doing a file deployment for multiple machines per site, so it is much easier for me to zip all the files once and deploy to every machine. However I would like to remove the config for all the ...
0
votes
0answers
25 views

How to show creation date column for file explorer for ext4?

I have ext4 as my file system.... maybe, Update: Although I see When I look at a file I actually see... $ stat --file-system x File: "x" ID: 5e4c155f9d662ca0 Namelen: 255 Type: ext2/ext3 ...
2
votes
0answers
30 views

How to show full file name in Ubuntu 19?

I have some files on my Desktop that have longer names (but not that long actually). After about 10 letters the filename gets cutoff with a .... While Ubuntu 18 did show you the full name, when you ...
1
vote
0answers
19 views

Can't see my 'other Locations' option in Ubuntu 18.04 desktop [duplicate]

I have 3 partitions on my Ubuntu 18.04 desktop. It was good until yesterday. But don't know what happened. I Can't see 'Other Options' in the file manager when I open it. Looks weird. the file manager ...
0
votes
1answer
65 views

Auto Mount NTFS Drive at /media/user/Data x at each user login? [duplicate]

I am using Ubuntu OS details here I am using Files as File Manger which is details here The NTFS drive names of the system are "Data 1" and "Data 2". These drives mount to /media/user/Data 1 and /...
2
votes
0answers
38 views

File can't be created

I'm having a very odd issue. I have a file that can't be created. No matter how I attempt to create a file with the name libnss_dns-2.19.2f.so in /lib the file doesn't exist. For example I tried ...
1
vote
1answer
33 views

Read command line arguments from a file

Directory structure: /home ---ubuntu ------projects ---------project1 ---------project2 ---------project3 ------.ignore .ignore: *project1* *project2* If I run: zip -r zipush.zip projects -x "$(&...
3
votes
1answer
76 views

What is difference between ls -lh and du -sh?

$ ls -lh file1.tar -rw-r--r-- 1 wnice wnice 40K Aug 6 20:41 file1.tar $ du -sh file1.tar 80K file1.tar Why is it showing different sizes of same file? Please help me understand
0
votes
1answer
49 views

How do I set Nautilus/Files view preferences?

Under each file icon in the file manager, I want to see its Name, Date, and Size. (I used to have these, but have lost these since doing a reinstall today). At the present I only see the file's name. ...