Thanks for the reply.In annex you can find an extract of webmin.I understand that size depends on the filesystem, which is normally ext3 and the blocksize.(normally 1K, I th... [by roland_br]
i am trying to install git-annex from the aur using packer. the PKGBUILD is using git to get the files, when it goes to build it gives me this error *** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this
I have a bash script that gives me counts of files in all of the directories recursively that were edited in the last 45 days
find . -type f -mtime -45| rev | cut -d .
I recently issued this command:
find . -type f | wc -l
To count how many files are in my public_html folder.
Shortly after, Nginx returned 500 internal server error and error.log was being flooded with "too many open files" error. I thought maybe this could be the source of this problem?
I am using Ubuntu Server 12.04's default file server on a local area network. I can view the server from my windows explorer and can add files. I just tried adding a pdf file to the server and it worked fine. However, I was trying to add a video file and the file wouldn't copy. Is there any sort of default file size limit? The video file is 1.3gb but the server holds 100gb.
Chance is that there will be empty files (zero byte files) and empty directories (that doesn’t contain any files) in your system. In this article, I will show you how to locate these empty directories and files and delete them.
The command you can use is the "find" command. To find empty directories in the current directory, you use the option -empty:
find .
In bash I often use for-loops such as the following
for file in *.type; do
sommecommand "$file";
done;
to perform an operation for all files matching *.type. If no file with this ending is found in the working directories the asterisk is not expanded and usually I will get an error message saying that somecommand didn't find the file.
Let’s say you have a folder with 5000 MP3 files you want to check for duplicates. Or a directory containing thousands of EPUB files, all with different names but you have a hunch some of them might be duplicates.
Introduction
If you wan to find files or directories, that were last modified in the last n days or just today, it is really easy to do in Linux.
How to find files last modifies today
Use the find command to do this
find -maxdepth 1 -type f -mtime 1
maxdepth: will tell find to only search in the current folder
type: will tell find to only list files and not directories
mtime: will tell find to on