I am wanting to search recursively through a directory and find all files that are not hidden files themselves and are not in a hidden dir. I tried using find .
Introduction
There are times, when sharing files using email as attachment is not possible, and then one of the best ways is to put those files in a FTP server, of course, it is even better to put all of them in a zip file, but the other end does not usually do that.
So, if you have a full folder structure you need to download using some recursive download tool, you have some options, one of them
I'm trying to burn a DVD from Windows but it fails because the full path name length exceeds the limit of something like 255 characters.
Our files are stored in Debian Linux (accessed by Windows using samba), so to avoid running some dodgy Windows app to find long path names I'd prefer to find them using a Linux command.
What command could I run to output a list of the relative path and file nam
Introduction
When you are running out of disk space, you need to concentrate on the biggest files and folders on your disk, so you can get space quickly.
The best way, is to list the first 10 folders, then go inside some of them, and find files you may or can delete, and get new free space.
Commands needed
There is not a single command in Linux to help us with this task, but we will use du, sort
Hi.
I'm trying to get the names of files from a log file, without the path and special characters.
I have a file that contains lines like this:
Code:
'/path/to/files/file00010000070874.EXT'
'/path/to/files/file00010000070875.EXT'
'/path/to/files/file00010000070876.EXT'
'/path/to/files/file00010000070877.EXT'
'/path/to/files/file00010000070878.EXT'
'/path/to/files/file00010000070879.EXT'
'/p
In Linux file system, there are files such as /dev/zero and /dev/random which are not real files on hard disk.
Is there any way that we can create a similar file and tell it to get ouput from executing a program?
For example, can I create file, say /tmp/tarfile, such that any program reading it actually gets the output from the execution of a different program (/usr/bin/tar ...)?
How is it that, if you are in a folder with various files --- pictures, binary executables, scripts, even directories, zip files, just about everything --- how it is that when you hit ls -l, you get output that is similar (to the form) for all files?
It is like the files are themselves placed in super files that are uniform, and has meta data attached, sort of like the control block structure of
I have directory path in which there are several sub directories. In all these sub dir there will be one env.cnf file.
ATM I am forced to use freeware in Windows to rename SOME Linux data files. Linux also creates files like "Filename.ext" as being different to "filename.ext", and !@#$hg".ext ... which cannot be recognized by Windows.
"pyrenamer" ... mentioned in another answer cannot auto-rename more than the one immediate folder.
I use Ubuntu, not ARCH linux, because I am not CLI.