Tagged Questions

I am using a script to regularly download my gmail messages that compresses the raw .eml into .gz files. The script creates a folder for each day, and then compresses every message into its own file.
...

I have a very large directory structure of source code that is very difficult to work with. I would like to run a tool to transform it to a Maven like structure that works better for me. When I have ...

how can we copy only file details (filename, size, time) from a remote machine in Unix?
For example: I have a directory (/opt/apache/…/webapps/Context) placed on a remote machine. Now I want to copy ...

I have a fairly large directory that I need to sync to an external hard drive for both backup and portability reasons.
/work
I try to run the following rsync command in order to copy this folder to ...

I would like to copy for backup porposes a Linux user home directory with several GBs of data and the usual configuration files. The source directory and the backup directory should exactly have the ...

Is there some order of operations to rm? I performed rm on a large directory and am curious where I should look to see what might have been deleted. Does rm work on files first, then directories? Or ...

I am trying to find the largest file in a directory recursively. If there is a subdirectory inside of that directory the function needs to go inside that directory and check to see if the largest file ...

I am a moderately new linux user. I changed my PC, and started using CentOS 7 from CentOS 6.
So I attached my previous hard disk to my new pc to take backup of my files. Now, copying the files (and ...

I'm new to the gzip command, so I googled some commands to run so I can gzip an entire directory recursively. Now while it did that, it converted each of my files to the gzip format and added .gz to ...

So wget has an ability to recursively download files, however it does it one file at a time.
I would like to pass in a directory URL, and for each URL it encounters in the recursion for it to spawn ...

I'd like to recursively rename all files and folders (sub-folders) to uppercase.
I found some scripts that will do it to lowercase, but I don't know how to change them so it will do it the other way ...

I just can not get it right.
Script takes two arguments, target and command. Valid targets are specified within an array. If target is 'all', script should iterate through all targets.
#!/bin/bash
# ...

Command I have is:
time find . -type f -print -exec cp {} /dev/null \;
This command finds all files in current folder and subfolders, print the name of each file and copy each of them to /dev/null. ...

I am looking to perform a diff between 2 directories, both of which contain may files and subdirectories.
I am hoping to perform a one-way diff between a source and target directory that will return ...

We have numerous directories that each contain 2 files, one of which is a hidden file. We want to remove all those directories and their contents that contain ONLY files that have a modification date ...

I think its a simple question, but the answer is probably a little more complicated :P
Edit: Actually, its not complicated at all!^^
So I have a directory with multiple svn projects and I would like ...

Here is my problem statement :
There is a folder with many html and text files. I need to recursively go through each one of them and find all kinds of file extensions referenced in these html/text ...

Like the topic says whenever I am in my home directory and run ls it shows me every file in every folder recursively, I cannot find any documentation of why this would happen, I have been looking on ...

I am trying write a shell script that has output similar to ls -R without using the option -R.
This is part of a programming assignment that forbids me from using -R, find and du. I need to identify ...

When digging around in the advanced settings in Dropbox I lost a folder. I only discovered this about a month later. I managed to get this folder back from Dropbox however the file structure of the ...