The tag has no usage guidance.

learn more… | top users | synonyms

5
votes
1answer
50 views

How can I increase Ubuntu's 143-byte file name limit for encrypted directories?

In encrypted directories, Ubuntu (at least 15.10) seems to have a file name byte limit of 143 B--much smaller than the ext4 file system's limit of 255 B. Where is this special limit set, why is it set ...
3
votes
2answers
328 views

How to have a forward slash in a file name?

I understand that this will likely break and confuse the hell out of my system, but is it possible to name or rename a file so that it has /s in its name (this is needed for a file which needs to go ...
0
votes
1answer
17 views

What is $Recycle.Bin in LS output?

If i do LS and see $RECYCLE.BIN and try to TAB complete $R I get $RANDOM clearly I am an idiot, but breaking things is how I learn :) I deleted $RECYCLE.BIN and lost a bunch of files. Now ...
0
votes
0answers
51 views

Is the incomplete output by wkhtmltopdf caused by shell expansion or wkhtmltopdf?

My Ubuntu 14.04's wkhtmltopdf version is $ wkhtmltopdf --version wkhtmltopdf 0.12.2.1 (with patched qt) I want to convert several webpages into a pdf file using the program in bash. First I tried ...
0
votes
2answers
30 views

How to replace symbol in multiplefiles? [duplicate]

I have many files in directory(with folders so i think solution must be recursive in deep) root-folder file-1.png file-2.png file-3.png file-4.png file-5.png folder-1 file-1.png file-2.png ...
4
votes
1answer
50 views

Shotwell Viewer can't open files without file ending

I am using Ubuntu 14.04 virtual machine. When I try to open an image without file extension (e.g .png) using Shotwell Viewer, it shows the error: "Shotwell does not support the file format of ...
1
vote
1answer
103 views

Keyboard Shortcut to Rename File in GUI (Other Than F2)

I want to rename a file in GUI. I know I can either right-click > Rename or press F2, but I know in Chrome OS you can just type Ctrl+Enter in the Files app, and it will do that. Is anything ...
1
vote
3answers
124 views

Rename Files & Folders With Special Characters

Struggling with this one and Googling it doesn't seem to be giving me solution that works. I have a folder named... file å?? name.txt for example and to avoid problems, I want to rename it however ...
1
vote
1answer
132 views

Find duplicates by filemane

I have about 167k files in single folder(for now) and renamed by this script in here: Renaming bunch of files, but only part of the title . How can I find duplicate files by their names (only digits ...
1
vote
1answer
76 views

non-english characters in file names don't show up in file search

After installing Kubuntu 15.10 non-English (i.e. Greek) file names are not shown in file search. Any ideas about this issue? (A QT issue caused some trouble in Firefox under 15.04, if I recall this ...
0
votes
1answer
33 views

After removing a file with special characters in filename it is still listed

I have removed a file with a special character in its file-name by placing it in the Trash can using Nautilus. Yet, it is still listed using "ls -la" giving something like: -????????? ? ? ? ? ? ...
2
votes
2answers
51 views

Rename multiple files remove all characters

How can I replace this [www.Example.com]Name-episode-77.mp4 FGBs episode 3 dks.mp4 to HxH 077.mp4 HxH 003.mp4 *Files name doesn't follow exact pattern I want to :- Remove all characters and ...
1
vote
2answers
48 views

How to find gaps in list?

So, I have allot of files (167k) and now they are now in proper order, thanks to Serg's script in here - http://askubuntu.com/a/686829/462277 . And now I need to find gaps between filenames, the ...
2
votes
1answer
100 views

Need help with MPV bash script

Basically I'm Try to edit a bash script. To goal of the Script is to allow me to take a bunch of screenshot of videos by Simply launching it from terminal with only having to specify the Filename and ...
1
vote
0answers
22 views

files names suffix “unknown”

On my desktop all created file names include the suffix "unknown". Please look at the screenshot: file name unknown Almost funny bug...it appears since a few updates and exclusive on my desktop but ...
0
votes
1answer
313 views

zip multiple files with the same name but different extensions [closed]

I have a folder that contains files with the same file name but different extensions (.jpg and .eps). Each .eps has a matching .jpg with the same name and I want to zip them together in pairs. (The ...
0
votes
1answer
43 views

File disappeared after cutting name when renaming

I use Ububtu 15.04 with Unity interface. While I was editing a file's name, I accidentally selected the entire name (without the extension) and pressed ctrl+x and Enter. The file disappeared. Where ...
0
votes
2answers
57 views

Cannot open zip created with shell script [duplicate]

I try to make a backup script, but when i create a zip with the script, and use cd myzip it sais that it dosnt exitst even when i can see it on the server with FileZilla. This is my script: ...
1
vote
1answer
105 views

how to handle file names with spaces

I am developing a GUI search program. I need help to handle filenames with spaces. I just can't figure it out. Here is my code: #!/bin/bash USERNAME=$(whoami) INPUT=$(zenity --entry) updatedb ...
2
votes
1answer
23 views

Opened file Highlighting in Linux Ubuntu console

First(I am using linux in terminal, (console mode),(no graphical extension), like on server. The question is following: Is it possible to install some kind of script, that highlights "opened file", ...
0
votes
0answers
81 views

Rename Files To Be Windows Friendly

I am having difficulty trying to create a back up of my personal files on Ubuntu as I am installing windows on my laptop (the restore disk will likely wipe the ubuntu), and I am trying to move about ...
1
vote
0answers
36 views

Sorting files by name [duplicate]

Is there a way I can change the way files are currently "sorted by name", to include common non-alphabetical characters like +-_? I don't mind getting my hands dirty if someone can point me to the ...
2
votes
1answer
1k views

Shell script with select command to show a list of files

I've written the attached bstls.sh shell script which uses the command select to choose the subfolder or file in a folder passed as argument on which execute the ls command. #! /bin/bash #Personal ...
1
vote
5answers
106 views

Delete pattern of names from files [duplicate]

I downloaded some files with youtube-dl. The name is always like this foo - baar -PSUHDUWHDAIHDWU.ogg/mp3/... How can I remove this random letters (cut the last '-*') at the end from all files of a ...
8
votes
4answers
702 views

How can I change the filename timestamp?

I have dat files' names in chronological order: FileName_YYYY_MM_DD_HHMM.dat Is there any commands for adding 30 minutes to each timestamp?
1
vote
3answers
227 views

How do I direct a file to be stored in a different folder?

So I'm trying to direct a file to be created in another folder (let's say on my Desktop) from my bin directory. I made a text file with all the files in the directory using ls > textfile but this ...
0
votes
1answer
52 views

Renaming png fails with shutter

I am learning to use shutter and from the CLI I was trying to take 10 screenshots at 1 second interval and to rename them, however when I try I get an error message that says: "There was an error ...
0
votes
0answers
76 views

Firefox: don't rename files with “filename(1)”

If I download two files with the same name (or even the same file twice by mistake), Firefox appends "(1)" to the filename (or "(2)", etc). I find parentheses in filenames annoying, especially ...
1
vote
1answer
198 views

Error: object “ip” is unknown , try “ip help”

I am trying to run trusted executables through a script. I copied the binary executable /bin/ip to a directory called Tools. I renamed the binary to eip. I have navigated to the directory tools and ...
0
votes
3answers
72 views

Substitute specific char sequence inside filenames

A friend of mine grouped tons of files in this way on windows After I made him switch to Ubuntu, files are no more ordered based on the number of exclamation marks in front, so I would like to know ...
1
vote
0answers
92 views

Detect & Convert encoding for broken file names

I downloaded some mp3 files that has Japanese character in its name and now the file name is broken. I tired convmv to convert encoding, but i cannot seem to find in which encoding the filename is ...
0
votes
3answers
112 views

How to Search for multiple words (in any order) in filename - GUI (or terminal)

I'm looking for a search tool (from Ubuntu 14.04 desktop) or method/command (Terminal) that will allow me to search in filenames for full or partial words, in any order, regardless of capitalization. ...
-1
votes
1answer
89 views

What happens with the case sensitive directories and files in an NTFS partition under Windows?

I use Ubuntu since 1,5 years. I upgraded my computer so that's the time for backup, fresh install, etc. I will make a dual boot system, so here is my problem: I have some (i don't know exactly how ...
0
votes
1answer
288 views

Error finding preseed file when booting the UbuntuServer installer via iPXE through HTTP

I know the typical settings to run a PXE server is the combination DHCP+TFTP+HTTP/FTP/NFS... servers, but my setting must be only DHCP+HTTP, so my dhcpd.conf has these lines: subnet 192.168.1.0 ...
1
vote
2answers
559 views

How to move files based on first word in file name?

In a folder, I have thousand of files, such as: cat eats mouse.jpg cat chases mouse.jpg gorilla eats banana.jpg gorilla is sleeping.jpg elephant is huge.jpg elephant has trunk.jpg (and so on...) I ...
1
vote
1answer
60 views

Searching in Dash

What are the characters which the Dash search uses to split filenames into words? I mean, if you have a file some random.txt, the dash will show if you enter either 'some' or 'random'. But what if I ...
1
vote
1answer
93 views

How to select files/folders based on input name prefix match in nautilus instead of start searching? [duplicate]

When one types on the keyboard in a view of a directory in nautilus, it either starts searching or to select the first file/folder matching the input with a prefix in the file's/folder's name. I've ...
1
vote
0answers
43 views

Sort files alphabetically with _

From Windows I am used to have files and folders with names starting with the "_" character to be sorted on top, before letters and numbers (when alphabetically sorting). Is it possible to do the same ...
3
votes
2answers
202 views

How can I batch replace one string at start of filename with string from end of filename?

I am looking for a command that I can use with Kubuntu's terminal (Konsole). (Edit) I figured out how to remove the useless last 13 characters in the filename, so what would the script be if I want ...
4
votes
5answers
5k views

How to mass add file extension?

My photo importer moved files from my camera and renamed them, but I forgot to specify that it should keep the file extension. So I have several folders with hundreds of JPG & AVI files that are ...
1
vote
1answer
263 views

Solving $PATH obfuscation by /bin/sh (dash)

This question is a follow-up from http://unix.stackexchange.com/questions/126955/percent-in-path-environment-variable. I post it here, since it is more distro-specific. The shell used by default for ...
2
votes
1answer
612 views

Cannot read filenames that are in utf8 encoding (Greek characters)

I've downloaded some files using "Download as .zip" option provided by Dropbox. The filenames contain Greek characters. I've extracted them and all I get is this: 2013 ΧειμεÏινÏ.pdf The files ...
0
votes
2answers
664 views

Rename command special characters in filename

I would like to remove [] in multiple file names. I get an error when doing it with the rename command. Is there another way to do this?
1
vote
2answers
758 views

How delete files - based on date in filename

I have some folder with files with the names as "example_YY_MM_DD-HH.zip" and I have 3 backups per day. I need this: 1) For backups older than 1 week I need only one per day (at midnight '00' at HH) ...
0
votes
2answers
1k views

In a cronjob copy files and change their names to unique values

I want to make a cronjob that makes a copy of every file in /var/log, and puts it in /etc/bak. That i do by making an sh file saying cp /var/log/*.* /etc/bak I would like these files not to be ...
1
vote
3answers
248 views

How can I prepend a random letter/number to the beginning of each filename?

I'm working on a system where I'd like the first letter of each filename to be random - not necessarily unique, just random. I'd like to be able to run this from a cron job. For example, I would be ...
2
votes
1answer
352 views

Nautilus is not showing the full or folder file names

When my folder location is too long, I can't view the full file or folder names. Double clicking on the name field or in between name and size doesn't work either.
3
votes
3answers
1k views

Find files with a minimum filename length

I'd like to find all files in a certain folder which have a filename of at least n characters (extension included). Is there any way to achieve this with find?
3
votes
1answer
2k views

how to detremine why unrar is failing // file name restrictions

I installed ? (at least I hope so !!) unrar with sudo apt-get install unrar-free I tried from Archive Manager Archive Manager displays the existence of files inside the Archive.rar After the ...
8
votes
2answers
506 views

Nautilus - How to apply Zoom on the filenames? Not just on the thumbnails

I'm looking to edit the way for nautilus to handle the zoom. Since Ubuntu 13.04, when you use the zoom in nautilus it only changes the thumbnails/icons size, and the filename text stay the same. Is ...