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.
2,875
questions
2
votes
1
answer
575
views
Copy hangs in local network
I want to copy files from one Ubuntu system to another.They are both in local wireless network.
I shared entire home dir on one, and tried to copy some files to another. It works for some time and ...
2
votes
0
answers
90
views
How to change a user ID safely if you are using encrypted home?
Inspired by this question, that seems to imply that a simple chown won't work because you won't be able to access the encrypted files. So how is the safest but still simple workaround?
2
votes
1
answer
574
views
How to delete old kernels without package management?
Is it a good idea to remove the vmlinuz, system.map, initrd.img, config and abi files from old kernels in /boot manually?
They're not listed in dpkg, because I installed Precise Pangolin without ...
2
votes
0
answers
358
views
Fail to access a Windows drive from a live session [closed]
I am attempting to use Ubuntu to rescue files from a Windows pc. I am using Ubuntu for the first time, so I am a complete novice. I am asking for assistance to find the files on the pc.
I have a ...
2
votes
0
answers
131
views
How to delete files irreversibly? [duplicate]
Possible Duplicate:
How to delete file(s) in secure manner?
I read that the files which are permanently deleted still can be recovered with some utilities and methods.
I want to know how can I ...
2
votes
1
answer
353
views
Am I able to pin files to the launcher? [duplicate]
Possible Duplicate:
How do I add a document shortcut to the Unity Panel?
I am working on a project, and I'd like to be able to pin it to the launcher (as opposed to pinning the app to open it). ...
2
votes
1
answer
448
views
How to use the Dash to search for files on other drives? [duplicate]
Possible Duplicate:
Zeitgeist does not index folders in NTFS partition
I am new to Ubuntu and it's promising. My question is how can I use it to search for files like I could in the Start menu of ...
2
votes
2
answers
97
views
Files from windows
I recently installed ubuntu and when I opened the pictures, videos, download, etc. files they didn't have any of the files I had from when I used windows, why is that?
2
votes
1
answer
521
views
Preview files in Ubuntu 15.10
In the Ubuntu desktop guide it is advertised that in Ubuntu 15.10 it is possible to see a preview of files and folders by pressing the space bar (just like in Mac OS X).
https://help.ubuntu.com/...
1
vote
5
answers
391
views
How to differentiate between a file without an extension and a folder without using `cd`?
What is the difference between a file without an extension and a folder? What I mean exactly is that when I create a file in the terminal, for example:
touch somefile
then delete that file and create ...
1
vote
6
answers
431
views
How can I see files' permissions?
I'm running Ubuntu 14.04 32-bit and I'm trying to understand how to see files' permisions and ownership.
1
vote
3
answers
1k
views
Why are new writes to files not surviving a power loss
I have a similar type of issue to: Raspberry Pi: Filesystem writes files, but after reboot the old data is back but not quite the same.
I am using Armbian_23.02.2_Orangepizero_jammy_current_5.15.93 ...
1
vote
1
answer
15k
views
Why do I get a "file too big" error when I transfer files to an external hard drive that has plenty of room? [duplicate]
I am digitizing my video collection and want to put it on an external hard drive. It is a 1TB Western Digital HD. The files are all over 5GB as I am ripping the files with Handbrake and at a very high ...
1
vote
4
answers
783
views
Execute file path
In Windows I have e.g. the following path: R:\Documents\Common\User\textual.doc. I copy this path and execute it through pasting it into »Run« or Windows Explorer. It automatically opens a document in ...
1
vote
3
answers
6k
views
How to sort the files in the download folder by date of download?
How can I sort the files in my download folder in the order of the date of download?
My OS is Ubuntu 14.10, and I am using Nautilus - Files 3.10.1.
1
vote
3
answers
404
views
bash, files, rename files, switch positions
How to rename
sluno-20201027-call-metroua-status.mp4
sluno-20201103-call-deriva.mp4
sluno-20201103-call-metroua-status.mp4
sluno-20201105-call-makrocz.mp4
sluno-20201105-call-metroua-testcall.mp4
...
1
vote
7
answers
43k
views
What is the file size of an *buntu iso image?
What is the file size of an *buntu iso image? I have limited internet, and I don't want to use too much of it. I want to put it on a disk or USB thumb drive and install it on a unused computer.
1
vote
3
answers
2k
views
How to automatically sort files out?
I have many files in my external harddrive, so I want to automatically tell the computer to sort all my files into folders, by their size, extension, name and other variables. Is there any program ...
1
vote
2
answers
2k
views
How can I add the contents of a file to the start of another existing file?
How can I add the contents of a text file to the start of another text file?
There are 3 files named f1 f2 f3. All of three have some text content.
How can I add the contents of file f1 at the start ...
1
vote
2
answers
11k
views
chmod directories and files in one command?
I have a directory "project" that contains a set of subdirectories and files. I want to give 777 permission to the directories and files from my 666 in the same directory with chmod command in my ...
1
vote
2
answers
14k
views
How to create files with sudo so that the files is owned by root?
I just confused to create file with sudo command. As i know, sudo command is commonly used for root privilege(by default) and when i created files using command below:
sudo cat > root.txt
And i ...
1
vote
2
answers
2k
views
Problems with content of the MBR file [closed]
I'm trying to look at the content of MBR file.
I save its content to some file, for example mbr.bin:
sudo dd if=/dev/sda of=mbr.bin bs=512 count=1
Then I use file utility:
file mbr.bin. I expect to ...
1
vote
2
answers
607
views
Command to list the largest 3 directories/files in my home
How can I list the largest 3 directories/files which are directly (not recursive) in my home directory using a command?
1
vote
2
answers
968
views
How to transfer the whole contents of a folder (recursively) from one server to another?
I have a /home/jbruni folder in a VPS running Ubuntu Server 10.04 LTS (Lucid Lynx).
I am about to turn this VPS off and move some things from it to a new VPS, also running the same Ubuntu version.
...
1
vote
1
answer
5k
views
What is the difference between md5sum and sha1sum
I use the following two commands to get the checksum of text file, but it gives me two different checksums, why?
md5sum log
sha1sum log
1
vote
2
answers
14k
views
Can not see Wine's C drive
I have a problem. My Wine has a C drive, but it's invisible. When I try to locate it in terminal, I can see the path: /home/michal/.wine/drive_c/windows
Problem is, when I open my user directory "...
1
vote
3
answers
1k
views
Move all files in several folders
So I unzipped a file with 1000+ folders, is there a way to "flatten" these folders? As in, grab all the contents from every folder and dump them into another directory.
1
vote
3
answers
1k
views
Windows files in Ubuntu and vice versa [duplicate]
Possible Duplicate:
How to read ext4 and btrfs partitions in Windows?
It's pretty easy to access all my Windows files in Ubuntu,
but now i wan't to do the opposite thing: i wan't to access my ...
1
vote
2
answers
427
views
List all modification times of a file
There are several methods to find the last modification time of a file. But is there a way to find all modification times of a file?
1
vote
3
answers
4k
views
Resize desktop icons Ubuntu 18.04
How can I resize the desktop icons?
They are too big. I tried to use the zoom out option in nautilus, but it didn't work
Thanks
1
vote
3
answers
618
views
Swapping file and directory names
I have a collection of files at ./date-and-time/fixed/path/filename where date-and-time and filename are variable. I would like to move all these files to ./filename/date-and-time. The former path is ...
1
vote
3
answers
3k
views
Rearrange the components of filenames for a group of files
I have a group of photo files that are named: ddmmyyyyxxxx.jpg (xxxx is just a sequence number) that I am trying to search but sadly no results, is to rename the filename to yyyy-mm-dd-xxxx.jpg.
All ...
1
vote
2
answers
299
views
How do I find and replace in file1 with values from file2
file1
O,tested test,12345
OC,test explore,34567
file2
O,new order
OC,new quote
I need an output like below:
New order,tested test,12345
New quote,test explore,34567
1
vote
3
answers
17k
views
How do I browse pictures and files on an android phone via USB?
I've got an android LG P690 mobile phone.
I would like to know how to browse its pictures,
videos, and music files from my Ubuntu Desktop system.
I've figured out how to do this with Blutooth, but ...
1
vote
3
answers
2k
views
where is input.h located?
I can't remember what directory this file is found in off hand. Does anybody know?
1
vote
2
answers
9k
views
How to change a folder's permissions and owners?
I just simply want to give the same attributes I have for "cars" directory to "animals" directory. In other words, how can I de-privilege that specific file in terms of permissions?...
1
vote
2
answers
2k
views
How to create a new file / an empty file using command or shortcut or without command?
How to create a new file / an empty file using command or shortcut or without command?
Like To create new Folder,
shortcut: Ctrl + Shift + N
Right click and create New Folder
1
vote
1
answer
1k
views
Where is the Internal IP address stored in Ubuntu?
Is there some file in the Linux-Ubuntu filesystem that contains the internal IP of the machine running it? Ideally, is the output provided by the following command
hostname -I
saved somewhere in the ...
1
vote
2
answers
2k
views
How do I find all files that end with a dot
How do I find all files that end with a "." (dot) and then delete them? Is there a program that can do this?
Example:
Desktop DB.
mp600osxpd542ej7.
1
vote
2
answers
3k
views
Folder and file icons messed up
As you can see in this image, my folder and file icons are messed up. The trash app icon is messed up too. I changed themes and icon themes in tweak and maybe that's what triggered this but then I did ...
1
vote
2
answers
174
views
Compare file dates
Sometimes when I boot, my system goes into emergency mode.
I then use Clonezilla to restore an image.
Usually the image is older than the current date.
This is part of a backup script that runs as ...
1
vote
2
answers
2k
views
Making swap on your hard drive
If you have already made a swap file during setup of ubuntu, would the commands mkswap and swapon add to it or it replaces it? Is there a way to add to it rather than replace it?
Is there a way to do ...
1
vote
1
answer
1k
views
How to get total download size of a list?
Imagine that, I have got download-list.txt. It contains some file urls:
http://example.com/a.txt
http://example.com/b.txt
http://example.com/c.txt
http://example.com/d.txt
http://example.com/e.txt
...
1
vote
4
answers
5k
views
Add to a prefix filename the name of its directory
l have about 100 directories such as :
walking,
writing,
dancing,
swimming.
Each of these directories contains a set of files.
l would like to add the prefix name of the directory to the ...
1
vote
2
answers
3k
views
chown from both ends of very long file list
I have a file list on an NFS that contains 2 million+ nodes. I have to run quite a few file permissions changes, owner changes, etc. When I run commands like chmod and chown (even rm or mv), the ...
1
vote
2
answers
2k
views
How to split a file up into many smaller files and then reconstruct them? [duplicate]
I need to upload a file which is about a GB to an online server to get to a friend. Now there seems to be a problem with my internet connection because if I try to upload a file more than 20MB then it ...
1
vote
1
answer
2k
views
File containing a list of all installed software, including dependencies?
All the guides I've seen recommend the use of the command dpkg --get-selections and redirecting the output to a text file.
Isn't there a file somewhere on the filesystem that contains a list of all ...
1
vote
1
answer
56
views
.file problem in home folder
hi dear friends ins start sorry for bad english .. Im after install one application in my system after install this app listed in home file sample
hom/jhon
.skype .gimp .gedit
how to solve this
1
vote
2
answers
2k
views
Open a file at a certain position and read one byte in bash
Since two persons already voted to close this post, I'll try to make the question as clear as possible. A file on a physical device is represented as a binary sequence. That being said, what I need to ...
1
vote
3
answers
216
views
Is there a way to get a list of all folders on a harddrive with the amount of used space?
Somehow my harddrive is full and I can't find the source, so is there a way to get a list of all folders on a harddrive with the amount of used space?
I could do it manually and check the properties ...