0
votes
0answers
21 views

Size on disk of a virtualized folder - How big can ProgramData actually measure?

According to File Explorer in Windows 7 my system's ProgramData folder is 1,6 GB in size for 2541 files in 953 folders. According to Thunar in Debian Linux my system's ProgramData folder is 120 GB in ...
1
vote
1answer
34 views

In linux how can I create a folder from a file?

I ran the following command to find all epubs and move them to a directory: find . -iname "*.epub" -exec mv {} /data/EPUB \; That created a super file with all the epubs concatenated together. Is ...
2
votes
2answers
15 views

Is there a way to save and restore a set of tabs in a linux file manager?

For a frequent task, I need a file manager window open with about 8 tabs, each a different location. I'd like to be able to open the tabs once and then save them as a "tab set", so that in future ...
0
votes
1answer
33 views

Detect file size decrease

I am saving streams from browser cache into my home folder. I wrote a script that takes the specific data type and saves them into disk, and names them as data.1, data.2 , data.3 and so on, creating ...
0
votes
0answers
38 views

“Number of files” quota exceeded on 1&1 shared host but I can't find most of the files

I'm on a Linux shared host (with 1&1), but I'm posting this question in SU because the source of the problem may have nothing to do with the particular host, and the problem could be anything so ...
0
votes
1answer
59 views

Why does Windows lock the files during installation while linux doesnt lock the files

I noticed when a file is executed on Windows (.exe or .dll)for installation, it is locked and cannot be modified, whereas Linux allows user to modify them by delete/edit. Why does Windows lock when ...
0
votes
1answer
70 views

how to keep number of files in a folder less than a limit

I'm trying to create a bash script to limit the number of files to a limit of 50000. I want to run the bash script on crontab every 5 min so it can keep deleting the old files when the number of ...
-1
votes
2answers
76 views

Unix - Prevent files with specific name from being in a directory

I need to prevent users from accidentally copy/move files with a certain names into a specific directory. Is it possible ? I need to set something in directory /home/similar2 that will reject any ...
1
vote
2answers
527 views

Linux: How can I delete all files whose file name is more than X characters in length?

I want to delete all files in the current directory and sub directories whose file name is more than a particular length. Is there an easy way of doing this from bash?
0
votes
0answers
13 views

Why do we need /lib in linux in 3.* kernel?

I have a host installed with fedora19 64bit, I saw the directory of /lib and /lib64. In fhs, it says, normally, /lib is a link to /lib64 or /lib32, but it seems not in fedora or other linux dist with ...
0
votes
0answers
80 views

After mounting tmpfs to /home/my file manager pcmanfm eat 100%CPU

I add to /etc/fstab tmpfs /home/user/.cache tmpfs noatime,nodiratime,nodev,nosuid,uid=1000,gid=100,mode=0700,size=600M 0 0 After mount , my file manager pcmanfs eat 100%CPU all time. How to solve ...
4
votes
2answers
5k views

How do I move files out of nested subdirectories into another folder in ubuntu? (Trying to strip off many subfolders)

How do I move files and not directories into another folder/parent folder? I have a folder structure that is extremely ugly, with some .mp3 files buried 6 levels deep in a sub-folder. I want to ...
0
votes
3answers
383 views

How to organize files in accordingly named directories from command line under Linux

I have a directory filled with various files, differently named (i.e. not named with a specific pattern) and with different extensions, and I want to put each file in a newly created subdirectory ...
0
votes
0answers
30 views

Remote file management queries from twin panel software

I have a server running CentOS. I can access my files through Samba or SCP, on Windows or Linux clients, without too much problem. But I have 4TB of unsorted data that I really need to start some work ...
2
votes
1answer
2k views

How do I delete all files smaller than a certain size in all subfolders?

I have a folder with many sub-folders containing small tif files (less than 160kb) which have been merged together in bigger pdf files, together with some big multi-page tif files. I want to delete ...
4
votes
3answers
295 views

Remove duplicate files, but only if they are in same folder?

I have read the FAQ and I know this comes close to being closed as asking for a product recommendation... I have looked at at least 40 "duplicate files" remover utilities (Windows, OSX and Linux) ...
0
votes
1answer
161 views

Linux - How to copy a list of files with special characters to new directory

I have a list of files with paths, some of the files have special characters such as spaces, hyphens, single or double quotes like the following: /Music/Allman_Brothers/Filmore_east/The Allman ...
0
votes
0answers
219 views

Python script for automatically opening audio files in mplayer with a terminal. Not working

So i like to use mplayer for multimedia in GNU/Linux. But one problem i have, is that i can't make my file-managers open audio files in it because they just play "in the background." What i tried to ...
1
vote
1answer
67 views

Is there any way to get an ext4 drive to register in the first place in Windows 7?

I have looked all over the place for a decent solution to this dilemma, including exhaustive Google searches, and I have not found anything useful at all. I don't want a separate, independent program ...
0
votes
1answer
219 views

Classifying, organizing and deduping files scattered across hard disks [closed]

I have hundreds of thousands of files scattered across the hard drives of multiple systems, all running Linux, and I need to organize them (classify, dedupe, etc.). I have all sorts of files, audio, ...
-1
votes
1answer
384 views

Is it possible to log file system events in Windows or Linux? [duplicate]

Is it possible to log file system events like copy, modification, deletion and creation of files and folders on a workstation? I primarily use Windows, but I would like to know if this is possible in ...
0
votes
1answer
253 views

What controls the native/default file chooser that applications use in linux?

So in any application I use that has a "Choose a File" (or similar) dialog, it's always the same one (excluding small java apps that use Swing's builtin File Manager and similar situations). It's been ...
0
votes
1answer
183 views

Find, prune and delete files under Linux

find . -path '/mnt/ftp/ben/brc' -prune -o -iregex '.*\.\(docx\|xls\|txt\|pdf\|xlsm\|doc\|xlsx\|CVS\|csv\)$' -mtime +730 -delete I need all docx, xls, txt, xlms, doc files older than 2 years from ...
3
votes
2answers
499 views

How to create files named after lines in a text file under Linux

I have a text file which contains a list of items (one for each line) and I need to create, in a given directory, a file for every entry in the said list; each one of these files should be named with ...
1
vote
1answer
98 views

How to delete a file in linux that does not have any/garbage file persmissions?

How do I delete a file that does not have any file permissions ? I am not able to delete file forcefully or as superuser. Please refer the screenshot:
1
vote
3answers
1k views

du which counts number of files/directories rather than size

I am trying to clean up a hard drive which has all kinds of crap on it accumulated over the years. du has helped reduce disk usage, but the whole thing is still unwieldily not due to the total size, ...
0
votes
2answers
55 views

Change the filestructure in linux

I am currently using manjaro and I have the following problem. My root partition is 7gb and my home partition is 100gb big. Now packages always get installed on the root partition. I tried to resize ...
14
votes
5answers
2k views

Transfering about 300gb in files from one server to another

I have about 200,000 files that I am transferring to a new server today. I haven't done anything on such a large scale before, and wanted to get some advice on how I should go about this. I am ...
1
vote
0answers
438 views

File manager that uses tags/labels instead of folders for GNU/Linux

I love the way emails are organized in GMail. I have long wanted something similar for my local files. The ability to have one file located under multiple hierarchies is a great advantage, and links ...
0
votes
1answer
132 views

Sort files based on their meta-data

At a local storage (ext3/ext4) I have thousands of files of various types. I need to sort them, however I can come up with the criteria to do so as long as it's possible to get an overview again. I ...
1
vote
1answer
323 views

How can I create persistent symlinks to my other drive?

When I create soft links within my /home folder to my other hdd (sdb) they no longer work when I restart my system. Do I have to mount my hdd to say /mnt/sdb on boot?
1
vote
0answers
389 views

Cannot rename a file containing spaces and special characters on NTFS partition from Linux

I have both Windows 7 and Kubuntu installed on a computer. They both have access to a NTFS partition. I don't know how that happened, but I now have a directory containing weird characters: Bases de ...
2
votes
1answer
100 views

Naming a file so it appears at the top when listing files

What I want to do is make it so a particular file is listed at the top when using ls or browsing via file manager like Nautilus. I want this to work without any system configuration as the files will ...
0
votes
1answer
72 views

What is this visual directory navigator called in linux?

at mark 0:56 from http://blip.tv/bogdan-vatra/necessitas-qt-suite-for-android-platform-4819643 I remember dos used to have that kind of file system navigation too. wondering if it exists for linux. ...
2
votes
1answer
1k views

“mv: cannot stat file” in for loop

I wanted to rename a lot of files with a pattern so I tried this for loop: $ for f in *; do mv \""$f"\" \""HouseMD-S06E${f#*Episode }"\"; done But I got this error: mv: cannot stat `"House MD ...
2
votes
2answers
441 views

Setting up a server in Linux for Home

I have an old Laptop at home that i wanted to setup as a server for my Home use. Linux was my choice for stability and learning reasons. What i at least wanted out of it was; Mercurical/Git repo FTP ...
0
votes
1answer
182 views

Prevent mv from overwriting the larger file by the same name

I need to move all files from a directory, discarding the directory structure. Unfortunately, some files have the same file name (Thumbnails). I'm looking for smth. like this: find /tmp/dirtree ...
0
votes
1answer
306 views

Copy a single file from main directory recursively across all directories within

I'm on a dedicated server using CentOS, and on this server I have 5000+ directories in one main directory. In the main directory I have an index.php. I would like to copy this index.php into all ...
1
vote
1answer
421 views

On Linux allow a file to be read/write but not deleted

Is there a way in Linux on a ext4 file system that I can make a file readable and writeable but not deletable? The directory that the file resides in still needs to be writeable by the owner of the ...
2
votes
1answer
214 views

Move one directory of files into another while maintaining directory structure

On Linux, I have directory #1, for example: /foo/file (edited) /foo/bar/foo/file6 (edited) And directory #2, which may contain some of the same files: /foo/file /foo/file2 /foo/bar/file3 ...
4
votes
3answers
2k views

How can I copy a single file and maintain directory structure?

How can I do this on the command line? e.g. copy /dir/another/file to /tmp/ so I have /tmp/dir/another/file
1
vote
1answer
28 views

On Linux where should I store non-subversion files for a web site? [closed]

I've finally upgraded to a VPS. I'm planning to run about 4 - 6 sites off it each with a fairly sizable files directory. That is, user uploaded media content such as images and video clips. I ...
1
vote
2answers
163 views

A download manager for Linux which saves downloaded files in directories by date like 2012_06_29

I've been using Download Master on Windows for years and what I liked most about it is that this program can automatically put downloaded files into directories by download date: /Downloads | ...
0
votes
1answer
255 views

'Push' files from one linux machine to another via SSH

I have 2 linux machines, one (1st) containing about 8 GB of small files (images, flv etc) I need to upload/push those files to the other machine (2nd). I would use rsync to pull them down to the 2nd ...
1
vote
3answers
2k views

Recover partially download file auto deleted by Chrome

Where can I find partially completed download file (from chrome ) on my system as(chrome and chromium) it delete them in event of interruption (NET ISSUE). I need the file so that I complete download ...
1
vote
2answers
3k views

Rsync statistics number of files

I'm using rsync with -vrlHh --delete --stats --force options to mirror two directories. The first directory is the source and it's my external hd, the destination directory is empty because I've just ...
0
votes
1answer
680 views

Looking for a Norton Commander -like file manager to connect via SSH to a linux server from Windows

I am looking for a tool to manage files on a remote linux computer via a SSH session from my windows 7 computer. I want this tool to help me copy files from one folder on that computer to another ...
1
vote
1answer
282 views

Magic Number of Linux partitions

I want to know the magic number of the current partitions and also the procedure of changing the magic number for the file system types.
1
vote
0answers
200 views

Avoid file system cache during read/write to flash memory

Is there a way to do kind of a direct i/o to the flash part on a portable consumer electronic device like iPhone etc. I want to do this to characterize the flash part performance and completely want ...
2
votes
2answers
670 views

How to remove files based on their extension using ssh

I need to removed files in my folders that ends in .txt using ssh. This is what I have tried so far: find /models/ -name *.txt" -type d -exec rm -rf {} \; Inside these main folder model I have ...