I don't think it realizes it is a folder:<br><br>root@jubuntu:/media/Jrobo/03 - Tagged, Listened, Unsorted# for i in ./*; do mv $i 1; done<br><b>mv: target `1' is not a directory</b><br><br>I'm assuming you meant run that from the parent directory of the mystery directory.<br>
<br><div class="gmail_quote">On Fri, Mar 21, 2008 at 8:01 PM, Stuart, Joseph <<a href="mailto:Joseph.Stuart@capella.edu">Joseph.Stuart@capella.edu</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<p><font size="2">Is this the only folder in the dir? If so<br>
Cd to dir<br>
<br>
for i in ./*; do mv $i 1; done<br>
<br>
<br>
<br>
<br>
-----<br>
Sent from my wireless device<div><div></div><div class="Wj3C7c"><br>
<br>
-----Original Message-----<br>
From: <a href="mailto:tclug-list-bounces@mn-linux.org" target="_blank">tclug-list-bounces@mn-linux.org</a> <<a href="mailto:tclug-list-bounces@mn-linux.org" target="_blank">tclug-list-bounces@mn-linux.org</a>><br>
To: Dean E <<a href="mailto:dean@ripperd.com" target="_blank">dean@ripperd.com</a>><br>
CC: Twin Cities Linux User's Group <<a href="mailto:tclug-list@mn-linux.org" target="_blank">tclug-list@mn-linux.org</a>><br>
Sent: Fri Mar 21 19:53:30 2008<br>
Subject: Re: [tclug-list] Renaming a folder with a different character set<br>
<br>
Sorry, not a programmer, all I can muster is pseudo-code myself! *laughs*<br>
<br>
Got a shell script?<br>
<br>
<br>
On Fri, Mar 21, 2008 at 6:54 PM, Dean E <<a href="mailto:dean@ripperd.com" target="_blank">dean@ripperd.com</a>> wrote:<br>
<br>
<br>
And if tab-completion can't grab it yet, try something like this pseudo<br>
code in C or perl:<br>
<br>
int i=1<br>
for each $folder in $currentworkingdir{<br>
rename $folder $i<br>
i++<br>
}<br>
<br>
I think that will grab them without ever knowing their original names,<br>
and rename the folders to 1,2,3,4, etc.<br>
<br>
<br>
<br>
<br>
Elvedin Trnjanin wrote:<br>
> Open up command line (terminal) and change directory to where that<br>
> directory or file is located. Type in "mv 2006***press tab button<br>
> here*** newname" where ***press tab button here*** means you actually<br>
> press the tab button (once or twice) for tab name completion.<br>
><br>
> Jordan Peacock wrote:<br>
>> I'm not 100% sure how this folder arrived on my doorstep, but I'm<br>
>> having some problems with it. As you can see in the screenshot, the<br>
>> name is pretty bizarre, and once I click on the folder (i know it's<br>
>> supposed to be a folder) it disappears. Attempting to move it or<br>
>> rename it using the command line have failed so far.<br>
>><br>
>> Any ideas? There are files inside that folder that I need.<br>
>><br>
>> Thank you<br>
>><br>
>> --<br>
>> Jordan Peacock<br>
>> <a href="mailto:hewhocutsdown@gmail.com" target="_blank">hewhocutsdown@gmail.com</a> <<a href="mailto:hewhocutsdown@gmail.com" target="_blank">mailto:hewhocutsdown@gmail.com</a>><br>
>> <a href="http://hewhocutsdown.blogspot.com" target="_blank">hewhocutsdown.blogspot.com</a> <<a href="http://hewhocutsdown.blogspot.com" target="_blank">http://hewhocutsdown.blogspot.com</a>><br>
>> ------------------------------------------------------------------------<br>
><br>
><br>
<br>
> _______________________________________________<br>
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
> <a href="mailto:tclug-list@mn-linux.org" target="_blank">tclug-list@mn-linux.org</a><br>
> <a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a><br>
<br>
<br>
_______________________________________________<br>
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
<a href="mailto:tclug-list@mn-linux.org" target="_blank">tclug-list@mn-linux.org</a><br>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a><br>
<br>
<br>
<br>
<br>
<br>
--<br>
Jordan Peacock<br>
<a href="mailto:hewhocutsdown@gmail.com" target="_blank">hewhocutsdown@gmail.com</a><br>
<a href="http://hewhocutsdown.blogspot.com" target="_blank">hewhocutsdown.blogspot.com</a><br>
</div></div></font>
</p>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Jordan Peacock<br><a href="mailto:hewhocutsdown@gmail.com">hewhocutsdown@gmail.com</a><br><a href="http://hewhocutsdown.blogspot.com">hewhocutsdown.blogspot.com</a>