General :: Real Moving Of A Folder's Content To Another Folder?

Feb 7, 2011

Is there a Commend to move the content of a folder -only image files no subfolders- to another destination folder?Actully, I had a look on the following post:Post tilte:Using mv to move the content of one directory into anotherFrom it, I tried that:

Code:
# rsync -a SOURCE/ DEST/
But, it copy a folder as all to the distination.

[code]...

View 10 Replies


ADVERTISEMENT

General :: Move Content Of Folder Moving To Public_html?

Mar 25, 2011

i want to move all files inside the folder moving to folder public_html which command i should use? m using centos5 64bit tell me full command which i should writer in ssh client..so my all files will be moved to public_html...from moving folder.

View 4 Replies View Related

General :: Ubuntu Symbolic Link Content Of Folder

Jun 24, 2010

I have two folders such as
nonserved/
folder1/
folder2/

And a served folder via Apache
media/
js/
css/
img/

In the end, I want to include/append contents of /nonserved to /media so that [URL] will be as such:
/media
/js
/css
/img
/folder1
/folder2

I am running Ubuntu Server, I am up for either apache config or symbolic link based answer :) Plus nonserved folder is rather dynamic thus manual symbolic linking to each folder is impossible.

View 1 Replies View Related

General :: Download Folder X And All Of Its Content From The Remote System?

Jan 12, 2010

How do I (through command line) download folder X and all of its content from the remote system to my local system?

View 7 Replies View Related

General :: Recovering Data - Doesn't Allow To View The Content Of The Folder /home/myself

Jun 29, 2010

I needed to install a new OS on a new HD but i also need the data on the old HD which has some problems (it doesn't boot anymore). The problem is that in the old one i had linux (Slackware) and so it doesn't allow me to view the content of the folder /home/myself. If there was something possible to do to recover all the data or if it will be forever lost.

View 1 Replies View Related

General :: Moving Symlinks Into A Folder Based On Id3 Tags?

Apr 3, 2010

I'm trying to get my music folder into something sensible. Right now, I have all my music stored in /home/foo so I have all of the albums soft linked to ~/music. I want the structure to be ~/music/<artist>/<album> I've got all of the symlinks into ~/music right now so I just need to get the symlinks into the proper structure. I'm trying to do this by delving into the symlinked album, getting the artist name with id3info. I can do this, but I can't seem to get it to work correctly.

for i in $( find -L $i -name "*.mp3" -printf "%h
")
do
echo "$i" #testing purposes

[code]....

I'm trying to mv The Trance Mix 3 Wanderlust - DJ Exortius [TRANCE DEEP VOCAL TECH]@ into the real directory DJ Exortius. DJ Exortius already exists, so it's just a matter of moving it into the correct directory that's based on the id3 tag of the mp3 inside.

PS: I've tried easytag, but when I restructure the album, it moves it from /home/foo which is not what I want.

View 2 Replies View Related

General :: Moving Files From Folders And Subfolders To A Specific Folder?

Aug 21, 2010

I am using secure delete to remove files from a Debian Linux PC. However, secure delete does not remove folders. This has lead me to look at writing a script that would move files to a predetermined folder for deletion. My plan is as follows:I have a folder on my desktop called shredder where I move the contents of the waste bin to. The script needs to identify all files within the folders and sub folders, within the shredder folder, and move each file to the shredder folder and then delete the folder. At this point secure delete can be used with a command like shred -v -u *.*on the shredder folder.The problem I have is in creating the code to move files from the different folders and then deleting the folders. Note that the names of the files, folders and subfolders will not always be known

View 12 Replies View Related

General :: Write A Shell Script Which Can Ready Content Of The Folder And Place Files On Remote FTP Server?

May 9, 2011

I need to write a shell script which can ready content of the folder and place files on remote FTP server. I need to make sure that a file that is already placed on remote FTP server is not attempted second time. The file names will be something like Records-2011-05-09. The files will be generated by MySQL every hour.

View 7 Replies View Related

Fedora :: F14 Desktop Folder Gone / Get Content Back?

Apr 2, 2011

I was dragging and dropping content from a folder onto the user desktop folder when suddenly instead of the packed Desktop Folder I got the Home folder with the few normal files that were in it AND one file called Desktop.

(actually, the file name was "Escritorio" and it was a PDF file, and in $HOME/.config/ the file user-dirs.dirs was changed to say XDG_DESKTOP_DIR="$HOME/" instead of XDG_DESKTOP_DIR="$HOME/Escritorio")

I've searched around but only found how to recreate a folder calles "Desktop" (or "Escritorio") and have it act like such, but not how to eventually recover the original "Desktop" folder AND ALL ITS CONTENTS (quite a lot!)

Is there any way to get the content back?

Fedora is 64bit Fedora 14
Gnome is 2.32
Nautilus is 2.32.2.1

View 4 Replies View Related

Ubuntu Servers :: Setup Real-time (or Near Real-time) Folder Synchronization Among 2+ Servers

Mar 23, 2010

what the recommended way to set up real-time (or near real-time) folder synchronization among 2+ servers. I looked a rsync but that doesn't sound real-time and it looks like its something that you might put in a cron once an hour.

View 1 Replies View Related

Ubuntu Security :: Change Permissions Of Folder's Content?

Feb 22, 2011

Recently I've tried installing Calibre from the Software Centre, but it seemed to be glitching as when I press Update Source, the 'In Progress' icon shows up, but when it finishes nothing changes - the Update Source button is still Should I report this?Anyways, I've installed Calibre from their website to .calibre in Home Folder. However, the folder is 'locked' as it requires root priveleges and I can't drop files there without being the admin. I'd like to reduce 'open as root' files to minimum, so I was wondering if there is a way to change the permissions of all the content in one operation, preferably using GUI, and not the terminal?

In addition I've noticed that other folders in my Home Folder like Pictures/Wallpapers require root privileges. This is really annoying as when I 'experiment' with Ubuntu I use Live CD to make sure I don't screw up the main system. When I do I can't open some files from hard disk because of those root inconsistencies

View 5 Replies View Related

Ubuntu :: Keep Desktop Folder Always Updated With Content Of Server

Jun 1, 2011

want to sync 2 folders, one on a desktop and the other on my server. My objective is to keep the desktop folder always updated with the content of the server folder. If I get this working, I can do the same with the rest of my desktop and laptop users. When online they can run a script with rsync and update data. Is it possible to get 2 way sync?

View 3 Replies View Related

Ubuntu :: Persistent Content Of /tmp Folder Returns After Deleting Or Rebooting?

Apr 6, 2010

After checking my tmp folder I found out some strange hidden and unhidden folders of programs that I have not used or downloaded. After removing each one using sudo rm -rf some folders insist on re-appearing, and after a reboot all folders are back.

Moreover, trying netstat -l, found that many of these files are in listening state.

How can I permanently erase them?

View 3 Replies View Related

General :: Command Line - Move Folder Contents Into Parent Folder

Jun 11, 2010

I have a folderA that contains folderB that contains a lot of files. I would like to get rid of folderB, but not its contents. I want those contents to be inside of folderA. How can I accomplish this on the commandline?

View 2 Replies View Related

General :: List Folder Size And Number Of Files And Folders In Folder?

Nov 23, 2010

In Linux bash shell, for a given directory, how can I list:The create date for that directory The number of files in that directory The number of subdirectories in that directory.

View 3 Replies View Related

General :: Unable To Share Folder In Suse 10.0 / Folder Defaults To Not Shared

May 13, 2010

I wanted to enable file sharing in for one of my folders under the home directory. I noticed that the 'not shared' and 'shared' always defaulted back to 'not shared'. And now I see what looks like an electrical plug icon symbol over the folder icon symbol like I might see used for some of the root folders. What does the new icon indicate about the folder attributes and why does file sharing default to 'not shared'?

View 1 Replies View Related

General :: Copy Folder Hierarchy / Recreate All Folders From One Directory Without Copying Over Contents Of Folder?

Jul 2, 2010

Is there a way to recreate all the folders from one directory to another without copying over the contents of the folder? I've been trying to do something like this,

Code:for i in `ls $X`; do mkdir $PATH/$i; doneUnfortunately $i is deliminated by whitespaces in the filenames and not the actual folders.

$X contains only other folders so I dont have to worry about regular files but any kind of more "advanced" solution would work.

View 1 Replies View Related

Ubuntu :: Moving A Folder In Terminal

Jan 23, 2010

I had a folder named "Rage Against the Machine" in my Home directory which contained a bunch of music files. I opened my Terminal window and planned on moving it to a folder named "Downloads" inside my home folder, so I used this command:

Code:
sudo mv "Rage Against The Machine" /Downloads

Now I can't actually find the folder inside Downloads, which I think it should be. so I even tried running this to find it:

Code:
locate "Rage Against The Machine"

and it couldn't find it either.

Where did it go??

The folder size was approximately 837.6 MB in size total.

View 4 Replies View Related

General :: Lock A User Into Websites Folder Not Home Folder?

Jan 9, 2009

id like to lock a user into his websites folder not his home folder. and i dont want him to be able to veiw anything outside that folder, only be able to play with whats inside that folder. is this possible?

View 4 Replies View Related

General :: Mount A Folder Names Sever Under Apps Folder?

Feb 4, 2010

In the linux machine we need to mount a folder names sever under apps folder with the user as steve. Also the steve user should have the permission to create the files in the folder. As of now, its mounted as root user.steve is in list of sudo users.

View 4 Replies View Related

General :: Copying All .jpg Or .JPG Files From A Folder And All Its Subfolders To /usr/name/pictures Folder?

Sep 10, 2009

How would i go about copying all .jpg or .JPG files from a folder and all its subfolders to my /usr/name/pictures folder? I'm guessing I'd have to use some sort of .[jJ][pP][gG] to get all the pictures from other examples i've seen, but really not sure how to use that in a recursive cp.

View 14 Replies View Related

OpenSUSE :: Kmail Does Not Display Local Folder Content After Akonadi Migration

Feb 17, 2011

I run opensuse 11.3/KDE:Factory. Recently, kmail updated to using akonadi. The following problem came up. My local emails are now managed by a "local folders" component of akonadi. The folder structure is displayed correctly in Kmail. However, no emails are shown for some folders. Emails still live in the .kde4/share/app/kmail directory hierarchy and can be imported into a new folder after moving them somewhere else. However, even after a fresh import sometimes emails are no longer recognized.

View 2 Replies View Related

Ubuntu Installation :: Moving The /etc Folder After Install ?

Mar 7, 2010

I've been setting up a media server on a an actual server machine I picked up dirt cheap, and had it running xUbuntu fine. gave it a 5gig root directory, 5gig swap partiton, and three 34gig storage drives. Everything was running smoothly.

Just recently I learned that the 5gig's dedicated to running my operating system of choice, aren't enough to install all the software I wanted(I might be just a little greedy). The first logical step to correcting this problem was to move /etc to one of the storage drives and create a link were it was, but not being entirely sure how xUbuntu would take that, I thought I'd get an expert opinion.

The thread prefix is "all variants" because I have installed the desktops for kUbuntu and just plain Ubuntu on this machine(what I meant by being a little greedy).

View 9 Replies View Related

General :: How To Make Public Folder Within Private Folder?

Sep 21, 2010

My Linux username is "virchanza" and my group is "virchanza".How do I make a publicly-accessible folder within my private home folder?

View 3 Replies View Related

General :: Copy Files From One Folder To Another Folder Using Shell?

Mar 4, 2010

i need to copy files from a folder called output files to another folder called running but im not able to do it i always get a stat error

View 14 Replies View Related

General :: Renaming Folder Which Is Default Folder For FTP Account

Feb 10, 2011

I have an FTP account that when they log in they go to /var/ftp/uploads according to etc/passwd.I want to temporarily stop the uploads from coming in, but don't want to change the password on that account. If I rename the uploads folder to something else, what will happen when they go to log in since the /var/ftp/uploads path is no longer valid?

View 6 Replies View Related

Ubuntu :: Moving / Resetting The Cheese Webcam Folder?

Oct 11, 2010

Every time I start up my webcam in cheese, a folder is created called 'Webcam' in my home folder, and if this folder is deleted, it will be recreated when another session is started, i would ideally like to just have this folder hidden but if i do that then it will be recreated, so is there anyway of having the folder created as a hidden .Webcam? there is no option for this in the cheese menu.

View 6 Replies View Related

Ubuntu :: Moving One Users Home Folder To Other Disk?

May 29, 2011

How would you go about moving one users home folder to a different partition, while maintaining other users home folder on the current one. Will simply running "usermod -dm /path/to/new/home username" on one of the users do the trick.

I want to run one of the users of an SSD, while the other runs of a bigger SATA disk.

View 9 Replies View Related

Ubuntu :: Moving Downloaded Files To Correct Folder?

Sep 1, 2011

I'm looking for a script or a bittorrent client which is able to move a file after downloading and placing it in a specific folder depending on the file type. E.g. moving a newly downloaded movie to "Videos" and an ISO-file to "Files".

I feel as if i have used a client with this functionality before but can't remember the name.

Since I at the moment use Transmission as my bittorrent client a script would also work since Transmission can run it after finishing the download.

View 7 Replies View Related

Server :: Stop Users Moving Up Folder Structure?

May 12, 2011

I have a Ubuntu 10.10 server; I have created several users and wish them to have their own web space (with a unique domain name for each). I have therefore created www folders within their home folder and created new Virtual Servers to host each domain name and point to the users www folder in their home folder. They can then use an FTP client to upload files. This all works well.

However, I would like to stop a user from going back up a level and traversing the tree.They can currently go back up to /home and see other users names.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved